Fix AppAccountView touch area (#807)

This commit is contained in:
Chanhwi Joo 2023-02-12 14:47:22 +09:00 committed by GitHub
parent 867c52fe06
commit a32e4f98bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ public struct AppAccountView: View {
Image(systemName: "chevron.right")
.foregroundColor(.gray)
}
.contentShape(Rectangle())
.onTapGesture {
if appAccounts.currentAccount.id == viewModel.appAccount.id,
let account = viewModel.account