2
0
Fork 1
mirror of https://github.com/FossifyOrg/Gallery.git synced 2025-04-21 02:44:00 +02:00

simplify a check at deleting from fullscreen

This commit is contained in:
tibbi 2017-03-01 23:32:05 +01:00
parent f67ce86cf2
commit 05b6d71035

View file

@ -207,7 +207,7 @@ class MainActivity : SimpleActivity(), DirectoryAdapter.DirOperationsListener {
}
private fun deleteItem(file: File) {
if (needsStupidWritePermissions(file.path) && isShowingPermDialog(file)) {
if (isShowingPermDialog(file)) {
return
}