From 2a0968eba9dd3ef2441b9a4bac24fc2b9b1f3cd6 Mon Sep 17 00:00:00 2001 From: LadyViktoria Date: Wed, 25 Jan 2017 15:32:38 +0100 Subject: [PATCH] Add prefences.Json show summary --- .../java/info/nightscout/androidaps/PreferencesActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/PreferencesActivity.java b/app/src/main/java/info/nightscout/androidaps/PreferencesActivity.java index 858d7fde6e..c0425b388d 100644 --- a/app/src/main/java/info/nightscout/androidaps/PreferencesActivity.java +++ b/app/src/main/java/info/nightscout/androidaps/PreferencesActivity.java @@ -57,7 +57,7 @@ public class PreferencesActivity extends PreferenceActivity implements SharedPre { pref.setSummary("******"); } else if (editTextPref.getText() != null && !editTextPref.getText().equals("")){ - pref.setSummary(editTextPref.getText()); + pref.setSummary("Value is set to: " +editTextPref.getText() + "\n" + editTextPref.getSummary()); } } if (pref instanceof MultiSelectListPreference) {