show a toast at recycle bin emptying

This commit is contained in:
tibbi 2018-06-27 18:45:31 +02:00
parent 15440cab42
commit b0c4ba7d99

View file

@ -210,6 +210,7 @@ fun BaseSimpleActivity.emptyTheRecycleBin(callback: () -> Unit) {
filesDir.deleteRecursively() filesDir.deleteRecursively()
galleryDB.MediumDao().clearRecycleBin() galleryDB.MediumDao().clearRecycleBin()
galleryDB.DirectoryDao().deleteRecycleBin() galleryDB.DirectoryDao().deleteRecycleBin()
toast(R.string.recycle_bin_emptied)
callback() callback()
}.start() }.start()
} }