From ce04d2bd77cc3a0032855da22307788633cba9d1 Mon Sep 17 00:00:00 2001 From: Docile-Alligator Date: Sun, 17 Jul 2022 22:57:34 +0800 Subject: Fix cannot go back from ViewMultiRedditDetailActivity. --- .../infinityforreddit/activities/ViewMultiRedditDetailActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src/main') diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewMultiRedditDetailActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewMultiRedditDetailActivity.java index 9dad1ebc..9e8d4ed0 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewMultiRedditDetailActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewMultiRedditDetailActivity.java @@ -145,7 +145,7 @@ public class ViewMultiRedditDetailActivity extends BaseActivity implements SortT @Override public boolean onKeyDown(int keyCode, KeyEvent event) { if (mFragment instanceof PostFragment) - return ((PostFragment) mFragment).handleKeyDown(keyCode); + return ((PostFragment) mFragment).handleKeyDown(keyCode) || super.onKeyDown(keyCode, event); return super.onKeyDown(keyCode, event); } -- cgit v1.2.3