show the error thrown at moving files in the recycle bin
This commit is contained in:
parent
f751adcd97
commit
225337a1d3
1 changed files with 3 additions and 1 deletions
|
@ -214,7 +214,9 @@ fun BaseSimpleActivity.movePathsInRecycleBin(paths: ArrayList<String>, mediumDao
|
||||||
mediumDao.updateDeleted(it, System.currentTimeMillis())
|
mediumDao.updateDeleted(it, System.currentTimeMillis())
|
||||||
pathsCnt--
|
pathsCnt--
|
||||||
}
|
}
|
||||||
} catch (ignored: Exception) {
|
} catch (e: Exception) {
|
||||||
|
showErrorToast(e)
|
||||||
|
return@forEach
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
callback?.invoke(pathsCnt == 0)
|
callback?.invoke(pathsCnt == 0)
|
||||||
|
|
Loading…
Reference in a new issue