@@ -18,7 +18,7 @@ class AnalogSettingsViewTest extends WatchUi.Menu2 {
18
18
function initialize () {
19
19
Menu2 .initialize (null );
20
20
21
- var currentVersion = 510 ;
21
+ var currentVersion = 512 ;
22
22
if (Storage .getValue (23 )== null or Storage .getValue (23 )< currentVersion ){
23
23
Storage .setValue (23 ,currentVersion );
24
24
@@ -129,10 +129,12 @@ class Menu2TestMenu2Delegate extends WatchUi.Menu2InputDelegate { // Sub-menu De
129
129
}
130
130
iconMenu .addItem (new WatchUi .ToggleMenuItem (" Tickmark Color" , {:enabled=>" Accent" , :disabled=>" Default" }, 18 , Storage .getValue (18 ), {:alignment=>WatchUi .MenuItem .MENU_ITEM_LABEL_ALIGN_LEFT }));
131
131
if (Storage .getValue (21 )[2 ]){ // has weather, doesn't show these for Fenix 5 Plus series
132
- iconMenu .addItem (new WatchUi .ToggleMenuItem (" Current Weather" , {:enabled=>" ON" , :disabled=>" OFF" }, 25 , Storage .getValue (25 ), {:alignment=>WatchUi .MenuItem .MENU_ITEM_LABEL_ALIGN_LEFT }));
133
- iconMenu .addItem (new WatchUi .ToggleMenuItem (" Location Name" , {:enabled=>" ON" , :disabled=>" OFF" }, 7 , Storage .getValue (7 ), {:alignment=>WatchUi .MenuItem .MENU_ITEM_LABEL_ALIGN_LEFT }));
132
+ iconMenu .addItem (new WatchUi .ToggleMenuItem (" Weather Condition" , {:enabled=>" ON" , :disabled=>" OFF" }, 25 , Storage .getValue (25 ), {:alignment=>WatchUi .MenuItem .MENU_ITEM_LABEL_ALIGN_LEFT }));
133
+ iconMenu .addItem (new WatchUi .ToggleMenuItem (Toybox .Weather .getCurrentConditions ().observationLocationName != null ? " Location Name" : " Condition Name" , {:enabled=>" ON" , :disabled=>" OFF" }, 7 , Storage .getValue (7 ), {:alignment=>WatchUi .MenuItem .MENU_ITEM_LABEL_ALIGN_LEFT }));
134
+ // iconMenu.addItem(new WatchUi.ToggleMenuItem("Location Name", {:enabled=>"ON", :disabled=>"OFF"}, 7, Storage.getValue(7), {:alignment=>WatchUi.MenuItem.MENU_ITEM_LABEL_ALIGN_LEFT}));
135
+
134
136
}
135
- // allow extra features only for LCD and AMOLED devices
137
+ // allow these extra features only for LCD and AMOLED devices
136
138
if (System .getDeviceSettings ().requiresBurnInProtection ){
137
139
iconMenu .addItem (new WatchUi .ToggleMenuItem (" AOD Colors" , {:enabled=>" Accent" , :disabled=>" Grayscale" }, 22 , Storage .getValue (22 ), {:alignment=>WatchUi .MenuItem .MENU_ITEM_LABEL_ALIGN_LEFT }));
138
140
if (System .SCREEN_SHAPE_ROUND == System .getDeviceSettings ().screenShape ) { // check if rounded display
0 commit comments