Pop stack when backpressed and stack not empty

This commit is contained in:
tarsin authored and GitHub committed 2022-06-25 01:45:30 +08:00
1 parent afe94b5dba
commit 70fa2eb821
1 file changed
+2
@@ -846,6 +846,8 @@ public final class GalleryListScene extends BaseScene
case STATE_NORMAL:
if (getStackIndex() == 0)
requireActivity().moveTaskToBack(false);
else
finish();
break;
case STATE_SIMPLE_SEARCH:
case STATE_SEARCH: