mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-10 17:11:56 +01:00
make CheckBoxPreference a SwitchPreference for reconnect settings
This commit is contained in:
parent
7c5cd4c032
commit
f8d06708e1
@ -3,10 +3,9 @@
|
|||||||
<PreferenceCategory
|
<PreferenceCategory
|
||||||
android:title="@string/connection_over_bt_classic" />
|
android:title="@string/connection_over_bt_classic" />
|
||||||
|
|
||||||
<CheckBoxPreference
|
<SwitchPreference
|
||||||
android:icon="@drawable/ic_bluetooth"
|
android:icon="@drawable/ic_bluetooth"
|
||||||
android:key="prefs_key_device_reconnect_on_acl"
|
android:key="prefs_key_device_reconnect_on_acl"
|
||||||
android:title="@string/autoconnect_from_device_title"
|
android:title="@string/autoconnect_from_device_title"
|
||||||
android:summary="@string/autoconnect_from_device_summary"
|
android:summary="@string/autoconnect_from_device_summary" />
|
||||||
android:layout="@layout/preference_checkbox" />
|
|
||||||
</PreferenceScreen>
|
</PreferenceScreen>
|
@ -3,11 +3,10 @@
|
|||||||
<PreferenceCategory
|
<PreferenceCategory
|
||||||
android:title="@string/connection_over_ble" />
|
android:title="@string/connection_over_ble" />
|
||||||
|
|
||||||
<CheckBoxPreference
|
<SwitchPreference
|
||||||
android:icon="@drawable/ic_bluetooth"
|
android:icon="@drawable/ic_bluetooth"
|
||||||
android:key="prefs_key_device_auto_reconnect"
|
android:key="prefs_key_device_auto_reconnect"
|
||||||
android:title="@string/auto_reconnect_ble_title"
|
android:title="@string/auto_reconnect_ble_title"
|
||||||
android:summary="@string/auto_reconnect_ble_summary"
|
android:summary="@string/auto_reconnect_ble_summary"
|
||||||
android:layout="@layout/preference_checkbox"
|
|
||||||
android:defaultValue="true" />
|
android:defaultValue="true" />
|
||||||
</PreferenceScreen>
|
</PreferenceScreen>
|
Loading…
Reference in New Issue
Block a user