From 30c82c6dc7b58e2139222c4f5da5f4c638ab56b0 Mon Sep 17 00:00:00 2001 From: tibbi Date: Tue, 18 Jul 2017 19:31:24 +0200 Subject: [PATCH] destroy multiselector mode after deleting an event type --- .../com/simplemobiletools/calendar/adapters/EventTypeAdapter.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/adapters/EventTypeAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/adapters/EventTypeAdapter.kt index fdccd518b..49249aa02 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/adapters/EventTypeAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/adapters/EventTypeAdapter.kt @@ -93,6 +93,7 @@ class EventTypeAdapter(val activity: SimpleActivity, val mItems: List private fun deleteEventTypes(deleteEvents: Boolean, ids: ArrayList) { listener?.deleteEventTypes(ids, deleteEvents) + actMode?.finish() } override fun onCreateViewHolder(parent: ViewGroup?, viewType: Int): ViewHolder {