Fixed that empty space between title and amount wasn't tapable

This commit is contained in:
dankito 2020-09-07 16:17:55 +02:00
parent 6b922fc2c6
commit 184bd85a48
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ struct BankListItem : View {
AmountLabel(amount: bank.balance) AmountLabel(amount: bank.balance)
} }
.frame(height: 35) .frame(height: 35)
.background(Color.systemBackground) // make background tapable
.contextMenu { .contextMenu {
Button(action: { self.navigateToBankSettingsDialog() }) { Button(action: { self.navigateToBankSettingsDialog() }) {
HStack { HStack {