Minor cleanup here and there (#690)

This commit is contained in:
Nathan Mattes 2023-01-08 15:34:16 +01:00
parent d220949514
commit 35d9caabbe
3 changed files with 1 additions and 7 deletions

View File

@ -20,7 +20,7 @@ import MastodonLocalization
class MastodonPickServerViewModel: NSObject {
enum EmptyStateViewState {
case none
case none
case loading
case badNetwork
}

View File

@ -136,11 +136,6 @@ struct MastodonRegisterView: View {
.padding()
.background(borderColor)
.cornerRadius(10)
// .overlay(
// RoundedRectangle(cornerRadius: 10)
// .stroke(borderColor, lineWidth: 1)
// .animation(.easeInOut, value: validateState)
// )
}
}
}

View File

@ -43,7 +43,6 @@ extension ServerRulesTableViewCell {
private func _init() {
selectionStyle = .none
// backgroundColor = .systemBackground
indexImageView.translatesAutoresizingMaskIntoConstraints = false
contentView.addSubview(indexImageView)