From f41658c4bd30003806dc4d6dc12ad1ea4a89432e Mon Sep 17 00:00:00 2001 From: Phil Shadlyn Date: Sun, 25 Apr 2021 17:08:44 -0400 Subject: [PATCH] remove 'request a unit' option --- .../settings/PreferencesFragment.java | 9 --------- app/src/main/res/xml/preferences.xml | 5 ----- 2 files changed, 14 deletions(-) diff --git a/app/src/main/java/com/physphil/android/unitconverterultimate/settings/PreferencesFragment.java b/app/src/main/java/com/physphil/android/unitconverterultimate/settings/PreferencesFragment.java index e131672..95e9c1c 100644 --- a/app/src/main/java/com/physphil/android/unitconverterultimate/settings/PreferencesFragment.java +++ b/app/src/main/java/com/physphil/android/unitconverterultimate/settings/PreferencesFragment.java @@ -54,15 +54,6 @@ public void onCreate(Bundle savedInstanceState) { addPreferencesFromResource(R.xml.preferences); // Add listeners to preferences - Preference unitRequest = findPreference("unit_request"); - unitRequest.setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() { - @Override - public boolean onPreferenceClick(Preference preference) { - requestUnit(); - return true; - } - }); - Preference rateApp = findPreference("rate_app"); rateApp.setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() { @Override diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml index afb9736..0457e6f 100644 --- a/app/src/main/res/xml/preferences.xml +++ b/app/src/main/res/xml/preferences.xml @@ -75,11 +75,6 @@ android:title="@string/prefs_title_acknowledgements" android:summary="@string/prefs_summary_acknowledgements"/> - -