1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-12 21:19:25 +01:00

Casio GW-B5600: bugfix for several watch settings

This commit is contained in:
Johannes Krude 2024-09-06 15:45:49 +02:00
parent 42277fceb9
commit 0282863573
5 changed files with 9 additions and 6 deletions

View File

@ -520,7 +520,6 @@ public class DeviceSpecificSettingsFragment extends AbstractPreferenceFragment i
addPreferenceHandlerFor(PREF_BUTTON_3_FUNCTION_DOUBLE); addPreferenceHandlerFor(PREF_BUTTON_3_FUNCTION_DOUBLE);
addPreferenceHandlerFor(PREF_VIBRATION_STRENGH_PERCENTAGE); addPreferenceHandlerFor(PREF_VIBRATION_STRENGH_PERCENTAGE);
addPreferenceHandlerFor(PREF_POWER_MODE); addPreferenceHandlerFor(PREF_POWER_MODE);
addPreferenceHandlerFor(PREF_POWER_SAVING);
addPreferenceHandlerFor(PREF_CONNECTION_DURATION); addPreferenceHandlerFor(PREF_CONNECTION_DURATION);
addPreferenceHandlerFor(PREF_LIFTWRIST_NOSHED); addPreferenceHandlerFor(PREF_LIFTWRIST_NOSHED);
addPreferenceHandlerFor(PREF_DISCONNECTNOTIF_NOSHED); addPreferenceHandlerFor(PREF_DISCONNECTNOTIF_NOSHED);

View File

@ -1,8 +1,9 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> <androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<SwitchPreference <SwitchPreferenceCompat
android:defaultValue="false" android:defaultValue="false"
android:icon="@drawable/ic_beep" android:icon="@drawable/ic_beep"
android:key="hourly_chime_enable" android:key="hourly_chime_enable"
android:layout="@layout/preference_checkbox"
android:title="@string/prefs_hourly_chime" /> android:title="@string/prefs_hourly_chime" />
</androidx.preference.PreferenceScreen> </androidx.preference.PreferenceScreen>

View File

@ -1,8 +1,9 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> <androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<SwitchPreference <SwitchPreferenceCompat
android:defaultValue="false" android:defaultValue="false"
android:icon="@drawable/ic_wb_sunny" android:icon="@drawable/ic_wb_sunny"
android:key="light_duration_longer" android:key="light_duration_longer"
android:layout="@layout/preference_checkbox"
android:title="@string/prefs_light_duration_longer" /> android:title="@string/prefs_light_duration_longer" />
</androidx.preference.PreferenceScreen> </androidx.preference.PreferenceScreen>

View File

@ -1,8 +1,9 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> <androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<SwitchPreference <SwitchPreferenceCompat
android:defaultValue="true" android:defaultValue="true"
android:icon="@drawable/ic_power_settings_new" android:icon="@drawable/ic_power_settings_new"
android:key="power_saving" android:key="pref_key_power_saving"
android:layout="@layout/preference_checkbox"
android:title="@string/power_saving" /> android:title="@string/power_saving" />
</androidx.preference.PreferenceScreen> </androidx.preference.PreferenceScreen>

View File

@ -1,8 +1,9 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> <androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<SwitchPreference <SwitchPreferenceCompat
android:defaultValue="true" android:defaultValue="true"
android:icon="@drawable/ic_sync" android:icon="@drawable/ic_sync"
android:key="time_sync" android:key="time_sync"
android:layout="@layout/preference_checkbox"
android:title="@string/pref_time_sync" /> android:title="@string/pref_time_sync" />
</androidx.preference.PreferenceScreen> </androidx.preference.PreferenceScreen>