From 1dfeab831f8a2ab947d459a1b47da4aa2bd1ba4d Mon Sep 17 00:00:00 2001 From: dragon Date: Tue, 28 Nov 2023 12:39:23 +0100 Subject: [PATCH] fixed closing logs --- lib/interface/widgets/selection.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/interface/widgets/selection.dart b/lib/interface/widgets/selection.dart index 45e43a925..cf4535424 100644 --- a/lib/interface/widgets/selection.dart +++ b/lib/interface/widgets/selection.dart @@ -134,7 +134,7 @@ class _SelectionLayoutState extends State> { if (!widget.enabled) return widget.child; return PopScope( - canPop: selections.isNotEmpty, + canPop: selections.isEmpty, onPopInvoked: (didPop) { if (!didPop) onSelectionChanged({}); },