Navigate to status details when tapped empty space (#72)

This commit is contained in:
Dariusz Rybicki 2023-01-12 19:10:40 +01:00 committed by GitHub
parent 5deb928dee
commit 032a92bb75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -69,6 +69,13 @@ public struct StatusRowView: View {
.contextMenu {
StatusRowContextMenu(viewModel: viewModel)
}
.background {
Color.clear
.contentShape(Rectangle())
.onTapGesture {
viewModel.navigateToDetail(routeurPath: routeurPath)
}
}
}
}