mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-07 21:48:14 -08:00
[Bugfix] Mobile - Fixed navigating back to splash screen (#11)
Fixes a small bug where the user could navigate back to the splashscreen when starting the app. Also fixes switching users and going back from the login screen. Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
parent
5e882b2177
commit
c53b9b2281
3 changed files with 4 additions and 4 deletions
|
|
@ -131,7 +131,7 @@ class AuthGuard extends AutoRouteGuard {
|
|||
if (value) {
|
||||
resolver.next(true);
|
||||
} else {
|
||||
router.navigate(const LoginRoute());
|
||||
router.replace(const LoginRoute());
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue