diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-12-01 15:37:58 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-12-01 15:37:58 +0000 |
commit | 8cbc24b53252cf6c194d281b5550c312d309cab7 (patch) | |
tree | c4c81cce4cc8279ed51f5a64e659e409553018a1 /app/src/main | |
parent | 37fd52bed19bee32721bc3c1aac2a43c34366b93 (diff) | |
download | infinity-for-reddit-8cbc24b53252cf6c194d281b5550c312d309cab7.tar infinity-for-reddit-8cbc24b53252cf6c194d281b5550c312d309cab7.tar.gz infinity-for-reddit-8cbc24b53252cf6c194d281b5550c312d309cab7.tar.bz2 infinity-for-reddit-8cbc24b53252cf6c194d281b5550c312d309cab7.tar.lz infinity-for-reddit-8cbc24b53252cf6c194d281b5550c312d309cab7.tar.xz infinity-for-reddit-8cbc24b53252cf6c194d281b5550c312d309cab7.tar.zst infinity-for-reddit-8cbc24b53252cf6c194d281b5550c312d309cab7.zip |
Disable nsfw warning in ViewUserDetailActivity.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewUserDetailActivity.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewUserDetailActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewUserDetailActivity.java index f7b77dbe..6b118b07 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewUserDetailActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewUserDetailActivity.java @@ -184,7 +184,7 @@ public class ViewUserDetailActivity extends BaseActivity implements SortTypeSele private String mMessageFullname; private String mNewAccountName; private SlidrInterface mSlidrInterface; - private MaterialAlertDialogBuilder nsfwWarningBuilder; + //private MaterialAlertDialogBuilder nsfwWarningBuilder; @Override protected void onCreate(Bundle savedInstanceState) { @@ -435,7 +435,7 @@ public class ViewUserDetailActivity extends BaseActivity implements SortTypeSele descriptionTextView.setText(userData.getDescription()); } - if (userData.isNSFW()) { + /*if (userData.isNSFW()) { if (nsfwWarningBuilder == null && !mNsfwAndSpoilerSharedPreferences.getBoolean((mAccountName == null ? "" : mAccountName) + SharedPreferencesUtils.NSFW_BASE, false)) { nsfwWarningBuilder = new MaterialAlertDialogBuilder(this, R.style.MaterialAlertDialogTheme) @@ -448,7 +448,7 @@ public class ViewUserDetailActivity extends BaseActivity implements SortTypeSele .setNegativeButton(R.string.dismiss, null); nsfwWarningBuilder.show(); } - } + }*/ } }); |