mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-15 02:05:58 -07:00
Fixed dashboard navigation
This commit is contained in:
parent
0c60501a99
commit
249bd685b1
3 changed files with 6 additions and 4 deletions
|
|
@ -211,7 +211,7 @@ class _LoginPageState extends ConsumerState<LoginScreen> {
|
|||
void loggedInGoToHome() {
|
||||
ref.read(lockScreenActiveProvider.notifier).update((state) => false);
|
||||
if (context.mounted) {
|
||||
context.router.push(const DashboardRoute());
|
||||
context.router.navigate(const DashboardRoute());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue