From 032a92bb751989e0cc1e8ff3fd92e06a5d0f9c5a Mon Sep 17 00:00:00 2001 From: Dariusz Rybicki Date: Thu, 12 Jan 2023 19:10:40 +0100 Subject: [PATCH] Navigate to status details when tapped empty space (#72) --- Packages/Status/Sources/Status/Row/StatusRowView.swift | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Packages/Status/Sources/Status/Row/StatusRowView.swift b/Packages/Status/Sources/Status/Row/StatusRowView.swift index 567529e1..6540088b 100644 --- a/Packages/Status/Sources/Status/Row/StatusRowView.swift +++ b/Packages/Status/Sources/Status/Row/StatusRowView.swift @@ -69,6 +69,13 @@ public struct StatusRowView: View { .contextMenu { StatusRowContextMenu(viewModel: viewModel) } + .background { + Color.clear + .contentShape(Rectangle()) + .onTapGesture { + viewModel.navigateToDetail(routeurPath: routeurPath) + } + } } }