From 995701174de54219c528993674cfa92995c03d17 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Tue, 27 Aug 2019 17:16:31 +0800 Subject: Delete wrong credit. Change the notification icon and color. --- app/src/main/java/Settings/CreditsPreferenceFragment.java | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'app/src/main/java/Settings/CreditsPreferenceFragment.java') 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); -- cgit v1.2.3