Dash: Expiration reminder defaults and range to PDM values

This commit is contained in:
jbr7rr 2023-08-31 08:19:30 +02:00
parent 3e9be586d1
commit 5766738f9b

View file

@ -41,14 +41,14 @@
android:summary="@string/omnipod_common_preferences_expiration_reminder_enabled_summary" /> android:summary="@string/omnipod_common_preferences_expiration_reminder_enabled_summary" />
<info.nightscout.core.validators.ValidatingEditTextPreference <info.nightscout.core.validators.ValidatingEditTextPreference
android:defaultValue="9" android:defaultValue="4"
android:dependency="@string/key_omnipod_common_expiration_reminder_enabled" android:dependency="@string/key_omnipod_common_expiration_reminder_enabled"
android:digits="0123456789" android:digits="0123456789"
android:inputType="number" android:inputType="number"
android:key="@string/key_omnipod_common_expiration_reminder_hours_before_expiry" android:key="@string/key_omnipod_common_expiration_reminder_hours_before_expiry"
android:title="@string/omnipod_common_preferences_expiration_reminder_hours_before_expiry" android:title="@string/omnipod_common_preferences_expiration_reminder_hours_before_expiry"
validate:maxNumber="24" validate:maxNumber="24"
validate:minNumber="2" validate:minNumber="1"
validate:testType="numericRange" /> validate:testType="numericRange" />
<SwitchPreference <SwitchPreference