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
|
@ -20,7 +20,7 @@
|
|||
android:key="@string/key_combov2_unpair_pump"
|
||||
android:shouldDisableView="true"/>
|
||||
|
||||
<SeekBarPreference
|
||||
<info.nightscout.core.ui.elements.IntSeekBarPreference
|
||||
android:key="@string/key_combov2_discovery_duration"
|
||||
android:title="@string/combov2_discovery_duration"
|
||||
android:min="30"
|
||||
|
|
Loading…
Reference in a new issue