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

Zepp OS: Fix Cards and MI AI display item and shortcuts

This commit is contained in:
Sky233ml 2023-04-16 10:51:56 +08:00
parent da72dd0208
commit 83c83580da
3 changed files with 10 additions and 0 deletions

View File

@ -30,6 +30,7 @@ public class Huami2021MenuType {
put("00000003", "workout");
put("00000004", "weather");
put("00000009", "alarm");
put("00000010", "cards");
put("0000000A", "takephoto");
put("0000000B", "music");
put("0000000C", "stopwatch");
@ -55,6 +56,7 @@ public class Huami2021MenuType {
put("00000033", "breathing");
put("00000038", "pomodoro");
put("0000003E", "todo");
put("0000003F", "mi_ai");
put("00000041", "barometer");
put("00000042", "voice_memos");
put("00000044", "sun_moon");
@ -73,6 +75,7 @@ public class Huami2021MenuType {
put("00000005", "sleep");
put("00000006", "alipay");
put("00000008", "wechat_pay");
put("00000009", "cards");
put("0000000A", "workout");
put("0000000B", "workout_history");
put("0000000C", "workout_status");
@ -91,6 +94,7 @@ public class Huami2021MenuType {
put("0000001E", "voice_memos");
put("00000020", "activity");
put("00000021", "eventreminder");
put("00000023", "mi_ai");
}};
public static final Map<String, String> controlCenterNameLookup = new HashMap<String, String>() {{

View File

@ -794,6 +794,8 @@
<item>@string/menuitem_worldclock</item>
<item>@string/menuitem_alipay</item>
<item>@string/menuitem_wechat_pay</item>
<item>@string/menuitem_cards</item>
<item>@string/menuitem_mi_ai</item>
<!-- dummy item -->
<item>@string/menuitem_more</item>
</string-array>
@ -838,6 +840,8 @@
<item>worldclock</item>
<item>alipay</item>
<item>wechat_pay</item>
<item>cards</item>
<item>mi_ai</item>
<!-- dummy item -->
<item>more</item>
</string-array>

View File

@ -1303,6 +1303,8 @@
<string name="menuitem_settings">Settings</string>
<string name="menuitem_alipay">Alipay</string>
<string name="menuitem_wechat_pay">WeChat Pay</string>
<string name="menuitem_cards">Cards</string>
<string name="menuitem_mi_ai">MI AI</string>
<string name="preferences_qhybrid_settings">Q Hybrid Settings</string>
<string name="menuitem_music">Music</string>
<string name="menuitem_more">More</string>