We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 119d719 + 4d3e85e commit c2ebfd1Copy full SHA for c2ebfd1
app/src/main/java/com/amaze/filemanager/ui/selection/SelectionPopupMenu.kt
@@ -84,11 +84,12 @@ class SelectionPopupMenu(
84
when (item?.itemId) {
85
R.id.select_all -> {
86
// select_all
87
- recyclerAdapter.toggleChecked(
88
- !recyclerAdapter
89
- .areAllChecked(currentPath),
90
- currentPath,
91
- )
+ if (!recyclerAdapter.areAllChecked(currentPath)) {
+ recyclerAdapter.toggleChecked(
+ true,
+ currentPath,
+ )
92
+ }
93
}
94
R.id.select_inverse -> {
95
recyclerAdapter.toggleInverse(currentPath)
0 commit comments