From 6e5eee7f867f4c750647551733cbbf75e41bd88c Mon Sep 17 00:00:00 2001 From: amaralkaff Date: Fri, 1 Nov 2024 02:11:20 +0800 Subject: [PATCH] feat: add workflows flutter --- lib/views/splash_screen.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {