add file deletion from mimetype activity

This commit is contained in:
tibbi 2021-10-13 19:45:37 +02:00
parent 9e25f74925
commit 149a8e628d
1 changed files with 9 additions and 1 deletions

View File

@ -112,7 +112,15 @@ class MimeTypesActivity : SimpleActivity(), ItemOperationsListener {
recreateList()
}
override fun deleteFiles(files: ArrayList<FileDirItem>) {}
override fun deleteFiles(files: ArrayList<FileDirItem>) {
deleteFiles(files, false) {
if (!it) {
runOnUiThread {
toast(R.string.unknown_error_occurred)
}
}
}
}
override fun selectedPaths(paths: ArrayList<String>) {}