add file deletion from mimetype activity
This commit is contained in:
parent
9e25f74925
commit
149a8e628d
|
@ -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>) {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue