aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-06-22 05:28:49 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-06-22 05:28:49 +0000
commita151d9841191cabd03586085674a1a875c6b3712 (patch)
tree9ab68d0fe60b4b3530a0a67a10590536d8c1bd95 /app
parent94b5c238fbed2c8a4a2ebef41f5f5821d1c0c40e (diff)
downloadinfinity-for-reddit-a151d9841191cabd03586085674a1a875c6b3712.tar
infinity-for-reddit-a151d9841191cabd03586085674a1a875c6b3712.tar.gz
infinity-for-reddit-a151d9841191cabd03586085674a1a875c6b3712.tar.bz2
infinity-for-reddit-a151d9841191cabd03586085674a1a875c6b3712.tar.lz
infinity-for-reddit-a151d9841191cabd03586085674a1a875c6b3712.tar.xz
infinity-for-reddit-a151d9841191cabd03586085674a1a875c6b3712.tar.zst
infinity-for-reddit-a151d9841191cabd03586085674a1a875c6b3712.zip
Add missing return statements.
Diffstat (limited to '')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewSubredditDetailActivity.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewSubredditDetailActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewSubredditDetailActivity.java
index 17725662..377abf94 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewSubredditDetailActivity.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewSubredditDetailActivity.java
@@ -1388,7 +1388,9 @@ public class ViewSubredditDetailActivity extends BaseActivity implements SortTyp
Intent userIntent = new Intent(this, ViewUserDetailActivity.class);
userIntent.putExtra(ViewUserDetailActivity.EXTRA_USER_NAME_KEY, thingEditText.getText().toString());
startActivity(userIntent);
+ return true;
}
+ return false;
});
new MaterialAlertDialogBuilder(this, R.style.MaterialAlertDialogTheme)
.setTitle(R.string.go_to_user)