1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-27 20:36:51 +01:00

Zepp OS: Add Zepp Coach display item and shortcut card

This commit is contained in:
José Rebelo 2023-08-12 13:00:45 +01:00
parent ee5325418a
commit 13af55bd2e
4 changed files with 7 additions and 0 deletions

View File

@ -57,6 +57,7 @@ public class Huami2021MenuType {
put("00000038", "pomodoro"); put("00000038", "pomodoro");
put("0000003E", "todo"); put("0000003E", "todo");
put("0000003F", "mi_ai"); put("0000003F", "mi_ai");
put("00000046", "zepp_coach");
put("00000041", "barometer"); put("00000041", "barometer");
put("00000042", "voice_memos"); put("00000042", "voice_memos");
put("00000044", "sun_moon"); put("00000044", "sun_moon");

View File

@ -81,6 +81,7 @@ public class ZeppOsShortcutCardsService extends AbstractZeppOsService {
ONE_TAP_MEASURING("22", "1"), ONE_TAP_MEASURING("22", "1"),
BREATHING("24", "1"), BREATHING("24", "1"),
STOPWATCH("25", "1"), STOPWATCH("25", "1"),
ZEPP_COACH("27", "1"),
RECOMMENDATION("28", "1"), RECOMMENDATION("28", "1"),
; ;

View File

@ -826,6 +826,7 @@
<item>@string/menuitem_wechat_pay</item> <item>@string/menuitem_wechat_pay</item>
<item>@string/menuitem_cards</item> <item>@string/menuitem_cards</item>
<item>@string/menuitem_mi_ai</item> <item>@string/menuitem_mi_ai</item>
<item>@string/menuitem_zepp_coach</item>
<!-- dummy item --> <!-- dummy item -->
<item>@string/menuitem_more</item> <item>@string/menuitem_more</item>
</string-array> </string-array>
@ -872,6 +873,7 @@
<item>wechat_pay</item> <item>wechat_pay</item>
<item>cards</item> <item>cards</item>
<item>mi_ai</item> <item>mi_ai</item>
<item>zepp_coach</item>
<!-- dummy item --> <!-- dummy item -->
<item>more</item> <item>more</item>
</string-array> </string-array>
@ -902,6 +904,7 @@
<item>@string/menuitem_breathing</item> <item>@string/menuitem_breathing</item>
<item>@string/menuitem_stopwatch</item> <item>@string/menuitem_stopwatch</item>
<item>@string/menuitem_recommendation</item> <item>@string/menuitem_recommendation</item>
<item>@string/menuitem_zepp_coach</item>
</string-array> </string-array>
<string-array name="pref_zepp_os_shortcut_cards_values"> <string-array name="pref_zepp_os_shortcut_cards_values">
@ -930,6 +933,7 @@
<item>breathing</item> <item>breathing</item>
<item>stopwatch</item> <item>stopwatch</item>
<item>recommendation</item> <item>recommendation</item>
<item>zepp_coach</item>
</string-array> </string-array>
<string-array name="pref_huami2021_control_center"> <string-array name="pref_huami2021_control_center">

View File

@ -1371,6 +1371,7 @@
<string name="menuitem_total_workout">Total workout</string> <string name="menuitem_total_workout">Total workout</string>
<string name="menuitem_vo2_max">VO₂ Max</string> <string name="menuitem_vo2_max">VO₂ Max</string>
<string name="menuitem_recommendation">Recommendation</string> <string name="menuitem_recommendation">Recommendation</string>
<string name="menuitem_zepp_coach">Zepp Coach</string>
<string name="menuitem_breathing">Breathing</string> <string name="menuitem_breathing">Breathing</string>
<string name="menuitem_cycles">Cycle Tracking</string> <string name="menuitem_cycles">Cycle Tracking</string>
<string name="menuitem_alarm">Alarm</string> <string name="menuitem_alarm">Alarm</string>