From 4c93647aaffb5c74eae26f30592b7ef98e96a50f Mon Sep 17 00:00:00 2001 From: "Martin.JM" Date: Thu, 2 May 2024 20:48:38 +0200 Subject: [PATCH] [Huawei] Add TruSleep warning --- app/src/main/res/values/strings.xml | 1 + .../main/res/xml/devicesettings_trusleep.xml | 21 ++++++++++++------- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 2549fd6d5..5185cc9cc 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -2381,6 +2381,7 @@ HUAWEI TruSleep ™ Monitor your sleep quality and breathing pattern in real time.\nAnalyze your sleep patterns and accurately diagnose 6 types of sleeping problems. Improved sleep monitoring + Warning: enabling this will stop sleep from showing up in Gadgetbridge! Click here if you accept this. Activity recognition settings recognize running recognize biking diff --git a/app/src/main/res/xml/devicesettings_trusleep.xml b/app/src/main/res/xml/devicesettings_trusleep.xml index 11c793dad..912e0e132 100644 --- a/app/src/main/res/xml/devicesettings_trusleep.xml +++ b/app/src/main/res/xml/devicesettings_trusleep.xml @@ -1,19 +1,26 @@ - + android:summary="@string/huawei_trusleep_warning"> + + +