fix: Navigate to beacon tab instead of pushing new BeaconScreen to avoid duplicate GlobalKey error

This commit is contained in:
Patrick Britton 2026-02-17 10:48:13 -06:00
parent 6d43ae2b09
commit b3abcf9c6e

View file

@ -147,11 +147,8 @@ class _HomeShellState extends ConsumerState<HomeShell> with WidgetsBindingObserv
); );
}, },
onBeaconTap: () { onBeaconTap: () {
Navigator.of(context).push( setState(() => _isRadialMenuVisible = false);
MaterialPageRoute( widget.navigationShell.goBranch(2); // Navigate to beacon tab (index 2)
builder: (_) => BeaconScreen(),
),
);
}, },
), ),
], ],