From e0df4646f918a37dfb8d92a030a71bedd722b1d5 Mon Sep 17 00:00:00 2001 From: Johannes Mockenhaupt Date: Wed, 8 Nov 2017 18:49:02 +0100 Subject: [PATCH] Remove dead code. --- .../java/info/nightscout/androidaps/PreferencesActivity.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/PreferencesActivity.java b/app/src/main/java/info/nightscout/androidaps/PreferencesActivity.java index 5641818993..ad795f6421 100644 --- a/app/src/main/java/info/nightscout/androidaps/PreferencesActivity.java +++ b/app/src/main/java/info/nightscout/androidaps/PreferencesActivity.java @@ -87,10 +87,6 @@ public class PreferencesActivity extends PreferenceActivity implements SharedPre pref.setSummary(MainApp.sResources.getString(R.string.smscommunicator_allowednumbers_summary)); } } - if (pref instanceof MultiSelectListPreference) { - EditTextPreference editTextPref = (EditTextPreference) pref; - pref.setSummary(editTextPref.getText()); - } } public static void initSummary(Preference p) {