Merge pull request #1725 from Philoul/Autotune/HideTuneInsulinCurve
Hide Tune Insulin Curve option
This commit is contained in:
commit
ff46cbf195
2 changed files with 3 additions and 2 deletions
|
@ -78,6 +78,7 @@ class AutotuneFragment : DaggerFragment() {
|
|||
|
||||
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
|
||||
super.onViewCreated(view, savedInstanceState)
|
||||
sp.putBoolean(R.string.key_autotune_tune_insulin_curve, false) // put to false tune insulin curve
|
||||
autotunePlugin.lastRun = sp.getLong(R.string.key_autotune_last_run, 0)
|
||||
if (autotunePlugin.lastNbDays.isEmpty())
|
||||
autotunePlugin.lastNbDays = sp.getInt(R.string.key_autotune_default_tune_days, 5).toString()
|
||||
|
|
|
@ -17,13 +17,13 @@
|
|||
android:key="@string/key_autotune_categorize_uam_as_basal"
|
||||
android:summary="@string/autotune_categorize_uam_as_basal_summary"
|
||||
android:title="@string/autotune_categorize_uam_as_basal_title" />
|
||||
|
||||
<!-- Hide tune_insulin_curve option, OpenAPS not fully validated currently
|
||||
<SwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:key="@string/key_autotune_tune_insulin_curve"
|
||||
android:summary="@string/autotune_tune_insulin_curve_summary"
|
||||
android:title="@string/autotune_tune_insulin_curve_title" />
|
||||
|
||||
-->
|
||||
<EditTextPreference
|
||||
android:defaultValue="5"
|
||||
android:inputType="number"
|
||||
|
|
Loading…
Reference in a new issue