From b0c4ba7d99b2e6e1074a48e0d5f8df044578153f Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 27 Jun 2018 18:45:31 +0200 Subject: [PATCH] show a toast at recycle bin emptying --- .../kotlin/com/simplemobiletools/gallery/extensions/Activity.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/Activity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/Activity.kt index 41a33621f..a6d92712a 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/Activity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/Activity.kt @@ -210,6 +210,7 @@ fun BaseSimpleActivity.emptyTheRecycleBin(callback: () -> Unit) { filesDir.deleteRecursively() galleryDB.MediumDao().clearRecycleBin() galleryDB.DirectoryDao().deleteRecycleBin() + toast(R.string.recycle_bin_emptied) callback() }.start() }