mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-04-02 04:40:18 +02:00
delete the folder instantly at deleting the last photo in it
This commit is contained in:
parent
304f6010da
commit
3f562513c0
@ -120,6 +120,10 @@ public class ViewPagerActivity extends AppCompatActivity
|
||||
snackbar.show();
|
||||
isSnackbarShown = true;
|
||||
toBeDeleted = getCurrentFile().getAbsolutePath();
|
||||
|
||||
if (photos.size() == 1)
|
||||
deleteFile();
|
||||
else
|
||||
reloadViewPager();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user