From c5fde79499582a16ed00a79a0acead42b05a0a5f Mon Sep 17 00:00:00 2001 From: Johannes Mockenhaupt Date: Thu, 12 Dec 2019 21:11:56 +0100 Subject: [PATCH] OpenAPS SMB: max SMB minutes: restrict to valid inputs. --- app/src/main/res/values/arrays.xml | 10 ++++++++++ app/src/main/res/xml/pref_openapssmb.xml | 15 ++++----------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index 0133d299e6..eca0961ca5 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -200,6 +200,16 @@ @string/key_medtronic_pump_battery_nizn + + 15 + 30 + 45 + 60 + 75 + 90 + 105 + 120 + key_medtronic_bolus_debug diff --git a/app/src/main/res/xml/pref_openapssmb.xml b/app/src/main/res/xml/pref_openapssmb.xml index 63d007d1cb..1fd18d9fb5 100644 --- a/app/src/main/res/xml/pref_openapssmb.xml +++ b/app/src/main/res/xml/pref_openapssmb.xml @@ -65,19 +65,12 @@ android:summary="@string/enablesmbaftercarbs_summary" android:title="@string/enablesmbaftercarbs" /> - + android:title="@string/smbmaxminutes_summary" />