Fixed dashboard navigation

This commit is contained in:
PartyDonut 2024-10-05 19:15:31 +02:00
parent 0c60501a99
commit 249bd685b1
3 changed files with 6 additions and 4 deletions

View file

@ -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());
}
}