settings(macOS): make save button prominent
This commit is contained in:
parent
12899a617b
commit
a7c110c41a
|
@ -123,10 +123,12 @@ struct SettingsToolbarViewModifier<AdditionalContent>: ViewModifier where Additi
|
|||
}
|
||||
}
|
||||
ToolbarItemGroup(placement: .confirmationAction) {
|
||||
Button(action: save) {
|
||||
Text("Save")
|
||||
Form {
|
||||
Button(action: save) {
|
||||
Text("Save")
|
||||
}
|
||||
.buttonStyle(.borderedProminent)
|
||||
}
|
||||
.buttonStyle(.borderedProminent)
|
||||
}
|
||||
}
|
||||
if let additionalContent = additionalContent {
|
||||
|
|
Loading…
Reference in New Issue