diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt index 2c925266b..b20435c21 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt @@ -233,24 +233,6 @@ class MainActivity : SimpleActivity(), SwipeRefreshLayout.OnRefreshListener, Get getDirectories() } - private fun showProperties() { - /*val items = directories_grid.checkedItemPositions - if (items.size() == 1) { - PropertiesDialog(this, selectedPaths.toTypedArray()[0], false) - } else { - val paths = ArrayList(items.size()) - val cnt = items.size() - for (i in 0..cnt - 1) { - if (items.valueAt(i)) { - val id = items.keyAt(i) - paths.add(mDirs[id].path) - } - } - - PropertiesDialog(this, paths, false) - }*/ - } - override fun refreshItems() { getDirectories() } @@ -353,10 +335,6 @@ class MainActivity : SimpleActivity(), SwipeRefreshLayout.OnRefreshListener, Get /*override fun onActionItemClicked(mode: ActionMode, item: MenuItem): Boolean { return when (item.itemId) { - R.id.cab_properties -> { - showProperties() - true - } R.id.cab_delete -> { prepareForDeleting() mode.finish()