1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2025-01-12 18:57:36 +01:00

Zepp OS: Add code for AQI shortcut card

This commit is contained in:
José Rebelo 2023-04-30 11:55:34 +01:00
parent 1d0b10ed0f
commit 6c0a276441
3 changed files with 4 additions and 0 deletions

View File

@ -58,6 +58,7 @@ public class ZeppOsShortcutCardsService extends AbstractZeppOsService {
public enum ShortcutCard {
WEATHER("2", "1"),
AQI("2", "2"),
FORECAST("2", "3"),
PAI("3", "1"),
ALARM("4", "1"),

View File

@ -876,6 +876,7 @@
<string-array name="pref_zepp_os_shortcut_cards">
<item>@string/menuitem_weather</item>
<item>@string/menuitem_aqi</item>
<item>@string/menuitem_forecast</item>
<item>@string/menuitem_pai</item>
<item>@string/menuitem_alarm</item>
@ -903,6 +904,7 @@
<string-array name="pref_zepp_os_shortcut_cards_values">
<item>weather</item>
<item>aqi</item>
<item>forecast</item>
<item>pai</item>
<item>alarm</item>

View File

@ -1297,6 +1297,7 @@
<string name="menuitem_notifications">Notifications</string>
<string name="menuitem_activity">Workout History</string>
<string name="menuitem_weather">Weather</string>
<string name="menuitem_aqi">Air Quality Index</string>
<string name="menuitem_forecast">Forecast</string>
<string name="menuitem_last_workout">Last workout</string>
<string name="menuitem_total_workout">Total workout</string>