From 7fc6de17c142f8c93fa01394e96a4949f17c1537 Mon Sep 17 00:00:00 2001 From: LadyViktoria Date: Thu, 9 Feb 2017 10:41:02 +0100 Subject: [PATCH] Add prefernces.json changes 2 --- .../java/info/nightscout/androidaps/PreferencesActivity.java | 5 +---- app/src/main/res/values/strings.xml | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/PreferencesActivity.java b/app/src/main/java/info/nightscout/androidaps/PreferencesActivity.java index 1c18288dbf..ccd6fc3857 100644 --- a/app/src/main/java/info/nightscout/androidaps/PreferencesActivity.java +++ b/app/src/main/java/info/nightscout/androidaps/PreferencesActivity.java @@ -30,7 +30,6 @@ public class PreferencesActivity extends PreferenceActivity implements SharedPre myPreferenceFragment = new MyPreferenceFragment(); getFragmentManager().beginTransaction().replace(android.R.id.content, myPreferenceFragment).commit(); PreferenceManager.getDefaultSharedPreferences(this).registerOnSharedPreferenceChangeListener(this); - } @Override @@ -46,9 +45,7 @@ public class PreferencesActivity extends PreferenceActivity implements SharedPre MainApp.bus().post(new EventRefreshGui(true)); } updatePrefSummary(myPreferenceFragment.getPreference(key)); - - -} + } private static void updatePrefSummary(Preference pref) { if (pref instanceof ListPreference || pref instanceof BluetoothDevicePreference) { diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 3d3fec1931..3bca14fdcc 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -267,7 +267,7 @@ DanaR profile settings DIA [h] Duration of Insulin Activity - Carbs absorption rate + Failed to update basal profile History Reload Uploading