Mint!
This commit is contained in:
parent
26512b7318
commit
b006293896
|
@ -1,6 +1,10 @@
|
||||||
{
|
{
|
||||||
"colors" : [
|
"colors" : [
|
||||||
{
|
{
|
||||||
|
"color" : {
|
||||||
|
"platform" : "universal",
|
||||||
|
"reference" : "systemMintColor"
|
||||||
|
},
|
||||||
"idiom" : "universal"
|
"idiom" : "universal"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
|
@ -38,6 +38,7 @@ struct AppView: View {
|
||||||
isPresentingPreferences = true
|
isPresentingPreferences = true
|
||||||
} label: {
|
} label: {
|
||||||
Label("Preferences", systemImage: "gear")
|
Label("Preferences", systemImage: "gear")
|
||||||
|
.tint(.accentColor)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -70,6 +71,7 @@ struct AppView: View {
|
||||||
}
|
}
|
||||||
} label: {
|
} label: {
|
||||||
Label("Add Key", systemImage: "plus.circle")
|
Label("Add Key", systemImage: "plus.circle")
|
||||||
|
.tint(.accentColor)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -94,12 +94,14 @@ 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,6 +76,7 @@ struct QRCodeView: View {
|
||||||
Button("Done") {
|
Button("Done") {
|
||||||
dismiss()
|
dismiss()
|
||||||
}
|
}
|
||||||
|
.tint(.accentColor)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.background {
|
.background {
|
||||||
|
@ -105,6 +106,7 @@ 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