Remove unneeded tint modifiers

This commit is contained in:
Shadowfacts 2021-08-25 11:40:39 -04:00
parent 85f60c7261
commit 9e16f9a693
4 changed files with 0 additions and 7 deletions

View File

@ -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)

View File

@ -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)
}

View File

@ -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)
}
}

View File

@ -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()