aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDocile-Alligator <chineseperson5@gmail.com>2022-03-17 06:05:27 +0000
committerDocile-Alligator <chineseperson5@gmail.com>2022-03-17 06:05:27 +0000
commit7405e19c2ed059bf92be4fa2df45740268655107 (patch)
tree9cd6f2e3b0b1d25befa7029f8ddbda94bb99e14a
parentc0ad8ed27a060c82f0e9832aea874ad28ec2469a (diff)
downloadinfinity-for-reddit-7405e19c2ed059bf92be4fa2df45740268655107.tar
infinity-for-reddit-7405e19c2ed059bf92be4fa2df45740268655107.tar.gz
infinity-for-reddit-7405e19c2ed059bf92be4fa2df45740268655107.tar.bz2
infinity-for-reddit-7405e19c2ed059bf92be4fa2df45740268655107.tar.lz
infinity-for-reddit-7405e19c2ed059bf92be4fa2df45740268655107.tar.xz
infinity-for-reddit-7405e19c2ed059bf92be4fa2df45740268655107.tar.zst
infinity-for-reddit-7405e19c2ed059bf92be4fa2df45740268655107.zip
Fix clicking the back button on the toolbar does not finish FullMarkdownActivity.
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/activities/FullMarkdownActivity.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/FullMarkdownActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/FullMarkdownActivity.java
index 05533044..2f51dd04 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/FullMarkdownActivity.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/FullMarkdownActivity.java
@@ -208,10 +208,8 @@ public class FullMarkdownActivity extends BaseActivity {
if (getIntent().getBooleanExtra(EXTRA_SUBMIT_POST, false)) {
getMenuInflater().inflate(R.menu.full_markdown_activity, menu);
applyMenuItemTheme(menu);
- return true;
}
-
- return false;
+ return true;
}
@Override