From a94d027388e98b8ced91de915c93631a4f240e51 Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 27 Feb 2017 18:41:20 +0100 Subject: [PATCH] fix #167, actionbar back button not working --- .../gallery/activities/ExcludedFoldersActivity.kt | 1 + .../com/simplemobiletools/gallery/activities/MediaActivity.kt | 1 + 2 files changed, 2 insertions(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/ExcludedFoldersActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/ExcludedFoldersActivity.kt index 315745271..4b1d5fe2a 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/ExcludedFoldersActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/ExcludedFoldersActivity.kt @@ -41,6 +41,7 @@ class ExcludedFoldersActivity : SimpleActivity() { override fun onOptionsItemSelected(item: MenuItem): Boolean { when (item.itemId) { R.id.remove_all -> removeAllExcludedFolders() + else -> return super.onOptionsItemSelected(item) } return true } diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MediaActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MediaActivity.kt index c504b1ead..858fd52e4 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MediaActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MediaActivity.kt @@ -131,6 +131,7 @@ class MediaActivity : SimpleActivity(), MediaAdapter.MediaOperationsListener { R.id.reduce_column_count -> reduceColumnCount() R.id.settings -> launchSettings() R.id.about -> launchAbout() + else -> return super.onOptionsItemSelected(item) } return true }