From 1e3e03d7e1804a4750c20678dc499e4b20ba5986 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Rebelo?= Date: Sat, 14 Sep 2024 15:50:53 +0100 Subject: [PATCH] Zepp OS 3.5: Add menu items for map, heart rate push, night display --- .../service/devices/huami/zeppos/ZeppOsMenuType.java | 3 +++ app/src/main/res/values/arrays.xml | 6 ++++++ app/src/main/res/values/strings.xml | 3 +++ 3 files changed, 12 insertions(+) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/zeppos/ZeppOsMenuType.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/zeppos/ZeppOsMenuType.java index e30245053..f70c45143 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/zeppos/ZeppOsMenuType.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/zeppos/ZeppOsMenuType.java @@ -68,7 +68,9 @@ public class ZeppOsMenuType { put("00000047", "membership_cards"); put("00000049", "body_composition"); put("0000004A", "readiness"); + put("0000004B", "map"); put("0000004C", "zepp_pay"); + put("0000004D", "heart_rate_push"); put("00000100", "alexa"); put("00000101", "offline_voice"); put("00000102", "flashlight"); @@ -135,5 +137,6 @@ public class ZeppOsMenuType { put("00000018", "stopwatch"); put("00000019", "eject_water"); put("0000001A", "headphone"); + put("0000001B", "night_display"); }}; } diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index 0fed3bfc0..fd3fd8a81 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -899,6 +899,8 @@ @string/menuitem_workout_shortcuts @string/menuitem_apps_shortcuts @string/hrv + @string/menuitem_map + @string/menuitem_heart_rate_push @string/menuitem_more @@ -954,6 +956,8 @@ workout_shortcuts apps_shortcuts hrv + map + heart_rate_push more @@ -1052,6 +1056,7 @@ @string/menuitem_eject_water @string/menuitem_headphone @string/menuitem_buzzer_intensity + @string/menuitem_night_display @@ -1072,6 +1077,7 @@ eject_water headphone buzzer_intensity + night_display diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 73416b656..7204f749c 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1876,6 +1876,8 @@ Body composition Workout shortcuts Apps shortcuts + Map + Heart Rate Push Breathing Cycle Tracking Alarm @@ -1941,6 +1943,7 @@ Eject Water Headphone Buzzer Intensity + Night Display Unknown (%s) [UNSUPPORTED] %s Red Fantasy