Skip to content

Commit

Permalink
fixed closing logs
Browse files Browse the repository at this point in the history
  • Loading branch information
clragon committed Nov 28, 2023
1 parent f6447be commit 1dfeab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/interface/widgets/selection.dart
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class _SelectionLayoutState<T> extends State<SelectionLayout<T>> {
if (!widget.enabled) return widget.child;

return PopScope(
canPop: selections.isNotEmpty,
canPop: selections.isEmpty,
onPopInvoked: (didPop) {
if (!didPop) onSelectionChanged({});
},
Expand Down

0 comments on commit 1dfeab8

Please sign in to comment.