From 0ddc26ce891bae40ec7d1bf1c203ab6f98345562 Mon Sep 17 00:00:00 2001 From: LadyViktoria Date: Thu, 26 Jan 2017 12:10:50 +0100 Subject: [PATCH] Add prefernces.json small import fixes --- app/build.gradle | 2 +- .../java/info/nightscout/androidaps/PreferencesActivity.java | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index f2e3ed0cc7..36b5e94935 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -135,5 +135,5 @@ dependencies { androidTestCompile 'org.mockito:mockito-core:2.+' androidTestCompile "com.google.dexmaker:dexmaker:1.2" androidTestCompile "com.google.dexmaker:dexmaker-mockito:1.2" - compile 'com.andreabaccega:android-edittext-validator:1.3.0' + compile 'com.andreabaccega:android-edittext-validator:1.3.4' } diff --git a/app/src/main/java/info/nightscout/androidaps/PreferencesActivity.java b/app/src/main/java/info/nightscout/androidaps/PreferencesActivity.java index 1054395380..0be3c80bb9 100644 --- a/app/src/main/java/info/nightscout/androidaps/PreferencesActivity.java +++ b/app/src/main/java/info/nightscout/androidaps/PreferencesActivity.java @@ -10,10 +10,7 @@ import android.preference.PreferenceActivity; import android.preference.PreferenceFragment; import android.preference.PreferenceGroup; import android.preference.PreferenceManager; -import android.preference.SwitchPreference; -import android.view.View; -import com.andreabaccega.widget.FormEditText; import info.nightscout.androidaps.events.EventPreferenceChange; import info.nightscout.androidaps.events.EventRefreshGui;