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