diff options
author | Paul <133590454+AppearamidGuy@users.noreply.github.com> | 2023-09-14 14:31:49 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-14 14:31:49 +0000 |
commit | 6576205f90b21350571b8601125890b1aa5e6664 (patch) | |
tree | 62fc626ce5c528cd8565e9247439873c639fe0dc /app/src/main | |
parent | e1765f83589a5733e2a9b2d7d93c49e7a3774f41 (diff) | |
download | infinity-for-reddit-6576205f90b21350571b8601125890b1aa5e6664.tar infinity-for-reddit-6576205f90b21350571b8601125890b1aa5e6664.tar.gz infinity-for-reddit-6576205f90b21350571b8601125890b1aa5e6664.tar.bz2 infinity-for-reddit-6576205f90b21350571b8601125890b1aa5e6664.tar.lz infinity-for-reddit-6576205f90b21350571b8601125890b1aa5e6664.tar.xz infinity-for-reddit-6576205f90b21350571b8601125890b1aa5e6664.tar.zst infinity-for-reddit-6576205f90b21350571b8601125890b1aa5e6664.zip |
Use most recent Reddit user agreement (#1484)
Fixes #1483
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/activities/LoginActivity.java | 2 | ||||
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/settings/MainPreferenceFragment.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/LoginActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/LoginActivity.java index 832885b9..5171ee04 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/LoginActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/LoginActivity.java @@ -271,7 +271,7 @@ public class LoginActivity extends BaseActivity { TextView messageTextView = new TextView(this); int padding = (int) Utils.convertDpToPixel(24, this); messageTextView.setPaddingRelative(padding, padding, padding, padding); - SpannableString message = new SpannableString(getString(R.string.user_agreement_message, "https://www.redditinc.com/policies/user-agreement-september-12-2021", "https://docile-alligator.github.io")); + SpannableString message = new SpannableString(getString(R.string.user_agreement_message, "https://www.redditinc.com/policies/user-agreement", "https://docile-alligator.github.io")); Linkify.addLinks(message, Linkify.WEB_URLS); messageTextView.setMovementMethod(BetterLinkMovementMethod.newInstance().setOnLinkClickListener(new BetterLinkMovementMethod.OnLinkClickListener() { @Override diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/settings/MainPreferenceFragment.java b/app/src/main/java/ml/docilealligator/infinityforreddit/settings/MainPreferenceFragment.java index ef64c33e..284ab852 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/settings/MainPreferenceFragment.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/settings/MainPreferenceFragment.java @@ -68,7 +68,7 @@ public class MainPreferenceFragment extends CustomFontPreferenceFragmentCompat { if (redditUserAgreementPreference != null) { redditUserAgreementPreference.setOnPreferenceClickListener(preference -> { Intent intent = new Intent(activity, LinkResolverActivity.class); - intent.setData(Uri.parse("https://www.redditinc.com/policies/user-agreement-september-12-2021")); + intent.setData(Uri.parse("https://www.redditinc.com/policies/user-agreement")); activity.startActivity(intent); return true; }); |