Made OK Button better tapable
This commit is contained in:
parent
fc6d2042af
commit
08d3cfbd66
1 changed files with 4 additions and 1 deletions
|
@ -36,7 +36,10 @@ struct InfoButton: View {
|
|||
HStack {
|
||||
Spacer()
|
||||
|
||||
Button("OK") { self.showInfoPopover = false }
|
||||
Button(action: { self.showInfoPopover = false }) {
|
||||
Text("OK")
|
||||
.frame(minWidth: 120, minHeight: 35)
|
||||
}
|
||||
|
||||
Spacer()
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue