From a151d9841191cabd03586085674a1a875c6b3712 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Tue, 22 Jun 2021 13:28:49 +0800 Subject: Add missing return statements. --- .../infinityforreddit/activities/ViewSubredditDetailActivity.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/src/main/java') 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) -- cgit v1.2.3