mirror of
https://github.com/kkebo/DNSecure.git
synced 2026-03-11 08:54:36 +00:00
refactor: refactor Button
This commit is contained in:
parent
13fbfc849a
commit
01d5a48a63
1 changed files with 1 additions and 3 deletions
|
|
@ -54,10 +54,8 @@ extension RestorationView: View {
|
|||
.navigationTitle("Presets")
|
||||
.toolbar {
|
||||
ToolbarItem(placement: .cancellationAction) {
|
||||
Button(role: .cancel) {
|
||||
Button("Cancel", systemImage: "xmark", role: .cancel) {
|
||||
self.dismiss()
|
||||
} label: {
|
||||
Image(systemName: "xmark")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue