Remove unneeded tint modifiers
This commit is contained in:
parent
85f60c7261
commit
9e16f9a693
|
@ -52,7 +52,6 @@ struct AddKeyButton: View {
|
|||
}
|
||||
} label: {
|
||||
Label("Add Key", systemImage: "plus.circle")
|
||||
.tint(.accentColor)
|
||||
}
|
||||
.accessibilityLabel("Add Key")
|
||||
.sheet(isPresented: $isPresentingScanner, content: self.scannerSheet)
|
||||
|
|
|
@ -40,7 +40,6 @@ struct AppView: View {
|
|||
isPresentingPreferences = true
|
||||
} label: {
|
||||
Label("Preferences", systemImage: "gear")
|
||||
.tint(.accentColor)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -49,7 +48,6 @@ struct AppView: View {
|
|||
}
|
||||
}
|
||||
}
|
||||
.tint(.blue)
|
||||
.sheet(isPresented: $isPresentingPreferences, content: self.preferencesSheet)
|
||||
}
|
||||
|
||||
|
|
|
@ -94,14 +94,12 @@ struct EditKeyForm: View {
|
|||
Button("Cancel") {
|
||||
dismiss(.cancel)
|
||||
}
|
||||
.tint(.accentColor)
|
||||
}
|
||||
}
|
||||
ToolbarItem(placement: .navigationBarTrailing) {
|
||||
Button("Save") {
|
||||
dismiss(.save(editedKey.toTOTPKey()!))
|
||||
}
|
||||
.tint(.accentColor)
|
||||
.disabled(!isValid)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -76,7 +76,6 @@ struct QRCodeView: View {
|
|||
Button("Done") {
|
||||
dismiss()
|
||||
}
|
||||
.tint(.accentColor)
|
||||
}
|
||||
}
|
||||
.background {
|
||||
|
@ -106,7 +105,6 @@ struct QRCodeView: View {
|
|||
Label("Save", systemImage: "square.and.arrow.down")
|
||||
}
|
||||
}
|
||||
.tint(.accentColor)
|
||||
}
|
||||
// fix the size so that the HStack doesn't grow beyond with width of the image
|
||||
.fixedSize()
|
||||
|
|
Loading…
Reference in New Issue