mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 22:47:59 +01:00
show a toast at recycle bin emptying
This commit is contained in:
parent
15440cab42
commit
b0c4ba7d99
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue