reset the actMode on destroy

This commit is contained in:
tibbi 2017-04-17 23:12:12 +02:00
parent 248595cde2
commit a9520ef182

View file

@ -97,6 +97,7 @@ class ItemsAdapter(val activity: SimpleActivity, var mItems: MutableList<FileDir
super.onDestroyActionMode(actionMode) super.onDestroyActionMode(actionMode)
views.forEach { toggleItemSelection(it, false) } views.forEach { toggleItemSelection(it, false) }
markedItems.clear() markedItems.clear()
actMode = null
} }
} }