Emergency fix for quit when stack is not empty

Fixes:https://github.com/asuka-mio/Ehviewer/commit/10caf7bbd8472dabe616733ad92aafaf89b2a9ee
This commit is contained in:
tarsin authored and GitHub committed 2022-06-25 01:31:49 +08:00
1 parent 846f83918b
commit afe94b5dba
1 file changed
+2 -1
@@ -844,7 +844,8 @@ public final class GalleryListScene extends BaseScene
switch (mState) {
case STATE_NORMAL:
requireActivity().moveTaskToBack(false);
if (getStackIndex() == 0)
requireActivity().moveTaskToBack(false);
break;
case STATE_SIMPLE_SEARCH:
case STATE_SEARCH: