mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-25 10:05:49 +01:00
[Huawei] Add TruSleep warning
This commit is contained in:
parent
881e8e36e8
commit
4c93647aaf
@ -2381,6 +2381,7 @@
|
||||
<string name="huawei_trusleep_title">HUAWEI TruSleep ™</string>
|
||||
<string name="huawei_trusleep_summary">Monitor your sleep quality and breathing pattern in real time.\nAnalyze your sleep patterns and accurately diagnose 6 types of sleeping problems.</string>
|
||||
<string name="huawei_trusleep_summary_light">Improved sleep monitoring</string>
|
||||
<string name="huawei_trusleep_warning">Warning: enabling this will stop sleep from showing up in Gadgetbridge! Click here if you accept this.</string>
|
||||
<string name="prefs_activity_recognition">Activity recognition settings</string>
|
||||
<string name="pref_activity_recognize_running">recognize running</string>
|
||||
<string name="pref_activity_recognize_biking">recognize biking</string>
|
||||
|
@ -1,19 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<PreferenceScreen
|
||||
android:icon="@drawable/ic_access_time"
|
||||
android:icon="@drawable/ic_activity_sleep"
|
||||
android:key="screen_trusleep"
|
||||
android:persistent="false"
|
||||
android:title="@string/huawei_trusleep_title"
|
||||
android:summary="@string/huawei_trusleep_summary_light">
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
android:icon="@drawable/ic_access_time"
|
||||
android:defaultValue="false"
|
||||
android:key="trusleep"
|
||||
android:layout="@layout/preference_checkbox"
|
||||
<PreferenceScreen
|
||||
android:icon="@drawable/ic_activity_sleep"
|
||||
android:key="screen_trusleep_warning"
|
||||
android:title="@string/huawei_trusleep_title"
|
||||
android:summary="@string/huawei_trusleep_summary"/>
|
||||
android:summary="@string/huawei_trusleep_warning">
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
android:icon="@drawable/ic_activity_sleep"
|
||||
android:defaultValue="false"
|
||||
android:key="trusleep"
|
||||
android:layout="@layout/preference_checkbox"
|
||||
android:title="@string/huawei_trusleep_title"
|
||||
android:summary="@string/huawei_trusleep_summary"/>
|
||||
|
||||
</PreferenceScreen>
|
||||
</PreferenceScreen>
|
||||
</androidx.preference.PreferenceScreen>
|
||||
|
Loading…
Reference in New Issue
Block a user