fix(onboarding): redirect to city setup after name step
Was going directly to dashboard, skipping the city selection screen. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
2d5ff1581b
commit
e56ec8619e
@@ -31,7 +31,7 @@ class _SetupNameViewState extends State<SetupNameView> {
|
||||
setState(() { _loading = true; _error = null; });
|
||||
try {
|
||||
await context.read<AuthProvider>().updateName(name);
|
||||
NavigationService.replaceTo(Flurorouter.dashboardRoute);
|
||||
NavigationService.replaceTo(Flurorouter.setupCityRoute);
|
||||
} catch (_) {
|
||||
setState(() => _loading = false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user