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

View file

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