Fix back button from baseline leading to black screen

Changed pushReplacement to push in onboarding navigation so the
onboarding screen stays in the nav stack when moving to baseline.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
John Mizerek 2026-02-25 20:39:31 -08:00
parent e4b8c9eb8e
commit 915e5f952b

View file

@ -258,7 +258,7 @@ class _OnboardingScreenState extends State<OnboardingScreen> {
} }
void _navigateToBaseline() { void _navigateToBaseline() {
Navigator.of(context).pushReplacement( Navigator.of(context).push(
MaterialPageRoute(builder: (_) => const BaselineScreen()), MaterialPageRoute(builder: (_) => const BaselineScreen()),
); );
} }