Skip to content

Commit a9520ef

Browse files
committed
reset the actMode on destroy
1 parent 248595c commit a9520ef

File tree

1 file changed

+1
-0
lines changed
  • app/src/main/kotlin/com/simplemobiletools/filemanager/adapters

1 file changed

+1
-0
lines changed

app/src/main/kotlin/com/simplemobiletools/filemanager/adapters/ItemsAdapter.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ class ItemsAdapter(val activity: SimpleActivity, var mItems: MutableList<FileDir
9797
super.onDestroyActionMode(actionMode)
9898
views.forEach { toggleItemSelection(it, false) }
9999
markedItems.clear()
100+
actMode = null
100101
}
101102
}
102103

0 commit comments

Comments
 (0)