aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/Settings/CreditsPreferenceFragment.java
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-08-27 09:16:31 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-08-27 09:16:31 +0000
commit995701174de54219c528993674cfa92995c03d17 (patch)
tree8ba16a3866f864cb4f814cbf72bbd63a9179c19d /app/src/main/java/Settings/CreditsPreferenceFragment.java
parent3b0eb15646cc9ac60a7661cf25d5a1a528bae404 (diff)
downloadinfinity-for-reddit-995701174de54219c528993674cfa92995c03d17.tar
infinity-for-reddit-995701174de54219c528993674cfa92995c03d17.tar.gz
infinity-for-reddit-995701174de54219c528993674cfa92995c03d17.tar.bz2
infinity-for-reddit-995701174de54219c528993674cfa92995c03d17.tar.lz
infinity-for-reddit-995701174de54219c528993674cfa92995c03d17.tar.xz
infinity-for-reddit-995701174de54219c528993674cfa92995c03d17.tar.zst
infinity-for-reddit-995701174de54219c528993674cfa92995c03d17.zip
Delete wrong credit. Change the notification icon and color.
Diffstat (limited to '')
-rw-r--r--app/src/main/java/Settings/CreditsPreferenceFragment.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/app/src/main/java/Settings/CreditsPreferenceFragment.java b/app/src/main/java/Settings/CreditsPreferenceFragment.java
index 6bc3b467..55fb3363 100644
--- a/app/src/main/java/Settings/CreditsPreferenceFragment.java
+++ b/app/src/main/java/Settings/CreditsPreferenceFragment.java
@@ -25,7 +25,6 @@ public class CreditsPreferenceFragment extends PreferenceFragmentCompat {
Preference iconForegroundPreference = findPreference(SharedPreferencesUtils.ICON_FOREGROUND_KEY);
Preference iconBackgroundPreference = findPreference(SharedPreferencesUtils.ICON_BACKGROUND_KEY);
Preference errorImagePreference = findPreference(SharedPreferencesUtils.ERROR_IMAGE_KEY);
- Preference placeholderPreference = findPreference(SharedPreferencesUtils.SUBREDDIT_AND_USER_PLACEHOLDER_KEY);
Preference gildedIconPreference = findPreference(SharedPreferencesUtils.GILDED_ICON_KEY);
Preference crosspostIconPreference = findPreference(SharedPreferencesUtils.CROSSPOST_ICON_KEY);
Preference thumbtackIconPreference = findPreference(SharedPreferencesUtils.THUMBTACK_ICON_KEY);
@@ -61,15 +60,6 @@ public class CreditsPreferenceFragment extends PreferenceFragmentCompat {
});
}
- if(placeholderPreference != null) {
- placeholderPreference.setOnPreferenceClickListener(preference -> {
- Intent intent = new Intent(activity, LinkResolverActivity.class);
- intent.setData(Uri.parse("https://www.freepik.com/free-photos-vectors/technology"));
- startActivity(intent);
- return true;
- });
- }
-
if(gildedIconPreference != null) {
gildedIconPreference.setOnPreferenceClickListener(preference -> {
Intent intent = new Intent(activity, LinkResolverActivity.class);