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:
parent
e4b8c9eb8e
commit
915e5f952b
1 changed files with 1 additions and 1 deletions
|
|
@ -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()),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue