Made OK Button better tapable

This commit is contained in:
dankito 2020-10-04 23:43:19 +02:00
parent fc6d2042af
commit 08d3cfbd66
1 changed files with 4 additions and 1 deletions

View File

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