diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-01-07 13:23:57 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-01-07 13:23:57 +0000 |
commit | ce503e242a335639e0c8644d4e2a2319be463b28 (patch) | |
tree | 7ca8ae51ba6767932b465951648b159633970fa3 /app/src/main/java/ml | |
parent | df18fc63ad19511efed96ff04aa35f4f2b01afce (diff) | |
download | infinity-for-reddit-ce503e242a335639e0c8644d4e2a2319be463b28.tar infinity-for-reddit-ce503e242a335639e0c8644d4e2a2319be463b28.tar.gz infinity-for-reddit-ce503e242a335639e0c8644d4e2a2319be463b28.tar.bz2 infinity-for-reddit-ce503e242a335639e0c8644d4e2a2319be463b28.tar.lz infinity-for-reddit-ce503e242a335639e0c8644d4e2a2319be463b28.tar.xz infinity-for-reddit-ce503e242a335639e0c8644d4e2a2319be463b28.tar.zst infinity-for-reddit-ce503e242a335639e0c8644d4e2a2319be463b28.zip |
Remove F-Droid info.
Diffstat (limited to 'app/src/main/java/ml')
2 files changed, 0 insertions, 11 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/settings/AboutPreferenceFragment.java b/app/src/main/java/ml/docilealligator/infinityforreddit/settings/AboutPreferenceFragment.java index 8e30fc11..4e930fba 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/settings/AboutPreferenceFragment.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/settings/AboutPreferenceFragment.java @@ -31,7 +31,6 @@ public class AboutPreferenceFragment extends PreferenceFragmentCompat { Preference openSourcePreference = findPreference(SharedPreferencesUtils.OPEN_SOURCE_KEY); Preference ratePreference = findPreference(SharedPreferencesUtils.RATE_KEY); - Preference fDroidPreference = findPreference(SharedPreferencesUtils.F_DROID_KEY); Preference emailPreference = findPreference(SharedPreferencesUtils.EMAIL_KEY); Preference redditAccountPreference = findPreference(SharedPreferencesUtils.REDDIT_ACCOUNT_KEY); Preference subredditPreference = findPreference(SharedPreferencesUtils.SUBREDDIT_KEY); @@ -62,15 +61,6 @@ public class AboutPreferenceFragment extends PreferenceFragmentCompat { }); } - if (fDroidPreference != null) { - fDroidPreference.setOnPreferenceClickListener(preference -> { - Intent intent = new Intent(activity, LinkResolverActivity.class); - intent.setData(Uri.parse("https://www.reddit.com/r/Infinity_For_Reddit/comments/f23o0y/for_anyone_who_wants_to_use_fdroid/")); - startActivity(intent); - return true; - }); - } - if (emailPreference != null) { emailPreference.setOnPreferenceClickListener(preference -> { Intent intent = new Intent(Intent.ACTION_SENDTO); diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/utils/SharedPreferencesUtils.java b/app/src/main/java/ml/docilealligator/infinityforreddit/utils/SharedPreferencesUtils.java index c288bb15..ece6d14a 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/utils/SharedPreferencesUtils.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/utils/SharedPreferencesUtils.java @@ -19,7 +19,6 @@ public class SharedPreferencesUtils { public static final String MATERIAL_ICONS_KEY = "material_icons"; public static final String OPEN_SOURCE_KEY = "open_source"; public static final String RATE_KEY = "rate"; - public static final String F_DROID_KEY = "f-droid"; public static final String EMAIL_KEY = "email"; public static final String REDDIT_ACCOUNT_KEY = "reddit_account"; public static final String SUBREDDIT_KEY = "subreddit"; |