From 1f329df8880e7d88f2c38e56ecb980c840cc8c33 Mon Sep 17 00:00:00 2001 From: uy_sun Date: Wed, 6 Dec 2023 15:03:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20canPop=20=E9=BB=98=E8=AE=A4=E5=80=BC?= =?UTF-8?q?=E5=BA=94=E8=AF=A5=E4=B8=BA=20true?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/widgets/home_page.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/widgets/home_page.dart b/lib/widgets/home_page.dart index fdc4e527..7d9cf0ec 100644 --- a/lib/widgets/home_page.dart +++ b/lib/widgets/home_page.dart @@ -83,7 +83,7 @@ class MySliverScaffold extends StatelessWidget { return Scaffold( drawer: drawer, body: PopScope( - canPop: canPop == null ? false : canPop!(), + canPop: canPop == null ? true : canPop!(), onPopInvoked: onPopInvoked, child: ConditionalParentWidget( condition: onRefresh != null,