mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-02-17 04:20:38 +01:00
show the error thrown at moving files in the recycle bin
This commit is contained in:
parent
f751adcd97
commit
225337a1d3
@ -214,7 +214,9 @@ fun BaseSimpleActivity.movePathsInRecycleBin(paths: ArrayList<String>, mediumDao
|
||||
mediumDao.updateDeleted(it, System.currentTimeMillis())
|
||||
pathsCnt--
|
||||
}
|
||||
} catch (ignored: Exception) {
|
||||
} catch (e: Exception) {
|
||||
showErrorToast(e)
|
||||
return@forEach
|
||||
}
|
||||
}
|
||||
callback?.invoke(pathsCnt == 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user