From c449ce43a5693291a609f6dcbf96fc1119bcac78 Mon Sep 17 00:00:00 2001 From: tibbi Date: Thu, 8 Dec 2016 21:31:48 +0100 Subject: [PATCH] lets actually remove Deselect all, there is the back button for it... --- .../simplemobiletools/gallery/adapters/MediaAdapter.kt | 8 -------- app/src/main/res/menu/cab_media.xml | 4 ---- app/src/main/res/values-de/strings.xml | 1 - app/src/main/res/values-es/strings.xml | 1 - app/src/main/res/values-it/strings.xml | 1 - app/src/main/res/values-ja/strings.xml | 1 - app/src/main/res/values-pt-rPT/strings.xml | 1 - app/src/main/res/values-ru/strings.xml | 1 - app/src/main/res/values-sv/strings.xml | 1 - app/src/main/res/values-zh/strings.xml | 1 - app/src/main/res/values/strings.xml | 1 - 11 files changed, 21 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/adapters/MediaAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/adapters/MediaAdapter.kt index 561307860..685b0d63d 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/adapters/MediaAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/adapters/MediaAdapter.kt @@ -84,10 +84,6 @@ class MediaAdapter(val activity: SimpleActivity, var media: MutableList, selectAll() true } - R.id.cab_deselect_all -> { - deselectAll() - true - } R.id.cab_delete -> { askConfirmDelete() true @@ -177,10 +173,6 @@ class MediaAdapter(val activity: SimpleActivity, var media: MutableList, } - fun deselectAll() { - - } - private fun askConfirmDelete() { ConfirmationDialog(activity) { actMode?.finish() diff --git a/app/src/main/res/menu/cab_media.xml b/app/src/main/res/menu/cab_media.xml index f4f161ce2..ebc27f573 100644 --- a/app/src/main/res/menu/cab_media.xml +++ b/app/src/main/res/menu/cab_media.xml @@ -31,10 +31,6 @@ android:icon="@mipmap/select_all" android:title="@string/select_all" app:showAsAction="ifRoom"/> - All media Switch to folder view Select all - Deselect all 1 Ordner gelöscht diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index f7cf1110f..9166bf47f 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -50,7 +50,6 @@ All media Switch to folder view Select all - Deselect all 1 carpeta eliminada diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index d735edb4b..f28f68b43 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -50,7 +50,6 @@ All media Switch to folder view Select all - Deselect all 1 cartella eliminata diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index 6eb472a44..85d18e88b 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -50,7 +50,6 @@ All media Switch to folder view Select all - Deselect all 1 フォルダーを削除しました diff --git a/app/src/main/res/values-pt-rPT/strings.xml b/app/src/main/res/values-pt-rPT/strings.xml index 7b1d01ea2..d9d081ef2 100644 --- a/app/src/main/res/values-pt-rPT/strings.xml +++ b/app/src/main/res/values-pt-rPT/strings.xml @@ -50,7 +50,6 @@ Multimédia Alternar para a vista de pastas Select all - Deselect all 1 pasta apagada diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 25eb9666c..f1ce98c9b 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -51,7 +51,6 @@ Все медиафайлы Переключиться к виду с папками Select all - Deselect all 1 папка удалена diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml index 0d38460fa..19b414e62 100644 --- a/app/src/main/res/values-sv/strings.xml +++ b/app/src/main/res/values-sv/strings.xml @@ -50,7 +50,6 @@ All media Switch to folder view Select all - Deselect all 1 mapp borttagen diff --git a/app/src/main/res/values-zh/strings.xml b/app/src/main/res/values-zh/strings.xml index 2b25f784e..5372cd167 100644 --- a/app/src/main/res/values-zh/strings.xml +++ b/app/src/main/res/values-zh/strings.xml @@ -51,7 +51,6 @@ All media Switch to folder view Select all - Deselect all 1 folder deleted diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 50ec5f1dc..3a3d5f477 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -50,7 +50,6 @@ All media Switch to folder view Select all - Deselect all 1 folder deleted