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