aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/ml/docilealligator/infinityforreddit
diff options
context:
space:
mode:
authorDocile-Alligator <chineseperson5@gmail.com>2022-07-17 14:57:34 +0000
committerDocile-Alligator <chineseperson5@gmail.com>2022-07-17 14:57:34 +0000
commitce04d2bd77cc3a0032855da22307788633cba9d1 (patch)
tree102a4c0bcbd99d6dfb81143969ffa48093f61430 /app/src/main/java/ml/docilealligator/infinityforreddit
parent5c0addbc9138de4a42af8dbf73a58aff14175373 (diff)
downloadinfinity-for-reddit-ce04d2bd77cc3a0032855da22307788633cba9d1.tar
infinity-for-reddit-ce04d2bd77cc3a0032855da22307788633cba9d1.tar.gz
infinity-for-reddit-ce04d2bd77cc3a0032855da22307788633cba9d1.tar.bz2
infinity-for-reddit-ce04d2bd77cc3a0032855da22307788633cba9d1.tar.lz
infinity-for-reddit-ce04d2bd77cc3a0032855da22307788633cba9d1.tar.xz
infinity-for-reddit-ce04d2bd77cc3a0032855da22307788633cba9d1.tar.zst
infinity-for-reddit-ce04d2bd77cc3a0032855da22307788633cba9d1.zip
Fix cannot go back from ViewMultiRedditDetailActivity.
Diffstat (limited to 'app/src/main/java/ml/docilealligator/infinityforreddit')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewMultiRedditDetailActivity.java2
1 files changed, 1 insertions, 1 deletions
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);
}