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: {
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)

View File

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

View File

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

View File

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