Skip to content

Commit

Permalink
Removed redundent delay
Browse files Browse the repository at this point in the history
  • Loading branch information
guyluz11 committed Dec 29, 2023
1 parent 1560ac1 commit 3e5b8fb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/presentation/pages/splash_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ class _SplashPageState extends State<SplashPage> {
if (kIsWeb || Platform.isLinux || Platform.isWindows) {
return context.router.replace(const ConnectToHubRoute());
}
await Future.delayed(const Duration(seconds: 2));
if (!mounted) {
return 0;
}
return context.router.replace(const IntroductionRouteRoute());
},
(r) => context.router.replace(const HomeRoute()),
Expand Down

0 comments on commit 3e5b8fb

Please sign in to comment.