Route rail re-taps through destination reselection

Ensure the navigation rail shares the destination re-selection hook used by the phone tab bar, so re-tapping Chat can reopen active chats on wide layouts. Add focused coverage and record the land-gate verification results.
This commit is contained in:
2026-11-12 03:37:01 +00:00
parent f7a89506c7
commit 88858945c5
3 changed files with 58 additions and 1 deletions
+3 -1
View File
@@ -288,7 +288,9 @@ class _AdaptiveShellState extends State<AdaptiveShell> {
destination,
destinationDetails(destination).icon,
),
onSelected: _select,
// Every tab control shares the tap entry, so a rail
// re-tap reaches the re-select hook like the bar's.
onSelected: _tapDestination,
padding: EdgeInsets.only(
top: system.top,
bottom: system.bottom,