combov2: Fix crash in preferences fragment after importing AAPS settings
Use IntSeekBarPreference instead of SeekBarPreference to automatically convert a string value to an int (which otherwise causes an exception). Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
This commit is contained in:
parent
e97267cdf5
commit
a9690dcbc9
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
||||||
android:key="@string/key_combov2_unpair_pump"
|
android:key="@string/key_combov2_unpair_pump"
|
||||||
android:shouldDisableView="true"/>
|
android:shouldDisableView="true"/>
|
||||||
|
|
||||||
<SeekBarPreference
|
<info.nightscout.core.ui.elements.IntSeekBarPreference
|
||||||
android:key="@string/key_combov2_discovery_duration"
|
android:key="@string/key_combov2_discovery_duration"
|
||||||
android:title="@string/combov2_discovery_duration"
|
android:title="@string/combov2_discovery_duration"
|
||||||
android:min="30"
|
android:min="30"
|
||||||
|
|
Loading…
Reference in a new issue