mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-25 03:16:51 +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_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">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_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="prefs_activity_recognition">Activity recognition settings</string>
|
||||||
<string name="pref_activity_recognize_running">recognize running</string>
|
<string name="pref_activity_recognize_running">recognize running</string>
|
||||||
<string name="pref_activity_recognize_biking">recognize biking</string>
|
<string name="pref_activity_recognize_biking">recognize biking</string>
|
||||||
|
@ -1,14 +1,20 @@
|
|||||||
<?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">
|
||||||
<PreferenceScreen
|
<PreferenceScreen
|
||||||
android:icon="@drawable/ic_access_time"
|
android:icon="@drawable/ic_activity_sleep"
|
||||||
android:key="screen_trusleep"
|
android:key="screen_trusleep"
|
||||||
android:persistent="false"
|
android:persistent="false"
|
||||||
android:title="@string/huawei_trusleep_title"
|
android:title="@string/huawei_trusleep_title"
|
||||||
android:summary="@string/huawei_trusleep_summary_light">
|
android:summary="@string/huawei_trusleep_summary_light">
|
||||||
|
|
||||||
|
<PreferenceScreen
|
||||||
|
android:icon="@drawable/ic_activity_sleep"
|
||||||
|
android:key="screen_trusleep_warning"
|
||||||
|
android:title="@string/huawei_trusleep_title"
|
||||||
|
android:summary="@string/huawei_trusleep_warning">
|
||||||
|
|
||||||
<SwitchPreferenceCompat
|
<SwitchPreferenceCompat
|
||||||
android:icon="@drawable/ic_access_time"
|
android:icon="@drawable/ic_activity_sleep"
|
||||||
android:defaultValue="false"
|
android:defaultValue="false"
|
||||||
android:key="trusleep"
|
android:key="trusleep"
|
||||||
android:layout="@layout/preference_checkbox"
|
android:layout="@layout/preference_checkbox"
|
||||||
@ -16,4 +22,5 @@
|
|||||||
android:summary="@string/huawei_trusleep_summary"/>
|
android:summary="@string/huawei_trusleep_summary"/>
|
||||||
|
|
||||||
</PreferenceScreen>
|
</PreferenceScreen>
|
||||||
|
</PreferenceScreen>
|
||||||
</androidx.preference.PreferenceScreen>
|
</androidx.preference.PreferenceScreen>
|
||||||
|
Loading…
Reference in New Issue
Block a user