fix #167, actionbar back button not working

This commit is contained in:
tibbi 2017-02-27 18:41:20 +01:00
parent 877821fd41
commit a94d027388
2 changed files with 2 additions and 0 deletions

View file

@ -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
}

View file

@ -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
}