mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
show a toast at recycle bin emptying
This commit is contained in:
@@ -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()
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user