diff --git a/lib/views/splash_screen.dart b/lib/views/splash_screen.dart index ec427d2..5356829 100644 --- a/lib/views/splash_screen.dart +++ b/lib/views/splash_screen.dart @@ -369,8 +369,8 @@ class _SplashScreenState extends State { @override Widget build(BuildContext context) { - return WillPopScope( - onWillPop: () async => false, + return PopScope( + canPop: false, child: BlocListener( listener: (context, state) { if (state.status != AuthStatus.authenticated) {