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