mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-29 12:05:53 +01:00
Mi Band 3: Allow enabling the "Workout" menu item
(This is called "Activity" in Gadgetbridge, since we have that on the Bip, we should probably rename that to Workout also for consistency with the menus)
This commit is contained in:
parent
8b8202a96e
commit
6644ad0bb0
@ -63,6 +63,10 @@ public class MiBand3Support extends AmazfitBipSupport {
|
||||
command[1] |= 0x04;
|
||||
command[5] = pos++;
|
||||
}
|
||||
if (pages.contains("activity")) {
|
||||
command[1] |= 0x08;
|
||||
command[6] = pos++;
|
||||
}
|
||||
if (pages.contains("more")) {
|
||||
command[1] |= 0x10;
|
||||
command[7] = pos++;
|
||||
|
@ -210,6 +210,7 @@
|
||||
<string-array name="pref_miband3_display_items">
|
||||
<item>@string/menuitem_notifications</item>
|
||||
<item>@string/menuitem_weather</item>
|
||||
<item>@string/menuitem_activity</item>
|
||||
<item>@string/menuitem_more</item>
|
||||
<item>@string/menuitem_status</item>
|
||||
<item>@string/heart_rate</item>
|
||||
@ -218,6 +219,7 @@
|
||||
<string-array name="pref_miband3_display_items_values">
|
||||
<item>@string/p_menuitem_notifications</item>
|
||||
<item>@string/p_menuitem_weather</item>
|
||||
<item>@string/p_menuitem_activity</item>
|
||||
<item>@string/p_menuitem_more</item>
|
||||
<item>@string/p_menuitem_status</item>
|
||||
<item>@string/p_heart_rate</item>
|
||||
@ -226,6 +228,7 @@
|
||||
<string-array name="pref_miband3_display_items_default">
|
||||
<item>@string/p_menuitem_notifications</item>
|
||||
<item>@string/p_menuitem_weather</item>
|
||||
<item>@string/p_menuitem_activity</item>
|
||||
<item>@string/p_menuitem_more</item>
|
||||
<item>@string/p_menuitem_status</item>
|
||||
<item>@string/p_heart_rate</item>
|
||||
|
Loading…
Reference in New Issue
Block a user