mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-02-17 04:20:38 +01:00
simplify a check at deleting from fullscreen
This commit is contained in:
parent
f67ce86cf2
commit
05b6d71035
@ -207,7 +207,7 @@ class MainActivity : SimpleActivity(), DirectoryAdapter.DirOperationsListener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun deleteItem(file: File) {
|
private fun deleteItem(file: File) {
|
||||||
if (needsStupidWritePermissions(file.path) && isShowingPermDialog(file)) {
|
if (isShowingPermDialog(file)) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user