Skip to content

Commit e667119

Browse files
authored
Add files via upload
1 parent 1a1bda1 commit e667119

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

settings-tinymemory/AnalogSettingsView.mc

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class AnalogSettingsViewTest extends WatchUi.Menu2 {
1818
function initialize() {
1919
Menu2.initialize(null);
2020

21-
var currentVersion=500;
21+
var currentVersion=510;
2222
if (Storage.getValue(23)==null or Storage.getValue(23)<currentVersion){
2323
Storage.setValue(23,currentVersion);
2424

@@ -27,6 +27,7 @@ class AnalogSettingsViewTest extends WatchUi.Menu2 {
2727
if (Storage.getValue(6) == null ){ Storage.setValue(6, true); } // Temperature Type
2828
if (Storage.getValue(7) == null ){ Storage.setValue(7, true); } // Location Name
2929
if (Storage.getValue(8) == null ){ Storage.setValue(8, true); } // Alarm Icon
30+
if (Storage.getValue(13) == null ){ Storage.setValue(13, 2); } // Hands Thickness - Thinner
3031
if (Storage.getValue(15) == null ){ Storage.setValue(15, true); } // Wind Unit
3132
if (Storage.getValue(16) == null ){ Storage.setValue(16, false); } // Temperature Unit
3233
if (Storage.getValue(18) == null ){ Storage.setValue(18, false); } // Tickmark Color
@@ -38,11 +39,11 @@ class AnalogSettingsViewTest extends WatchUi.Menu2 {
3839
if (Storage.getValue(26) == null ){ Storage.setValue(26, true); } // Battery Icon
3940
if (Storage.getValue(28) == null ){ Storage.setValue(28, true); } // Battery Color
4041
if (Storage.getValue(32) == null ){ Storage.setValue(32, false); } // Theme - Default Dark
41-
if (Storage.getValue(9) == null) { Storage.setValue(9, 26); } //big
42-
if (Storage.getValue(10) == null) { Storage.setValue(10, 26); } //big
43-
if (Storage.getValue(11) == null) { Storage.setValue(11, 22); } //small
44-
if (Storage.getValue(12) == null) { Storage.setValue(12, 22); } //small
45-
if (Storage.getValue(17) == null) { Storage.setValue(17, 22); } //small
42+
if (Storage.getValue(9) == null) { Storage.setValue(9, 26); } //big length data field 1
43+
if (Storage.getValue(10) == null) { Storage.setValue(10, 26); } //big length data field 2
44+
if (Storage.getValue(11) == null) { Storage.setValue(11, 22); } //small length data field 1
45+
if (Storage.getValue(12) == null) { Storage.setValue(12, 22); } //small length data field 2
46+
if (Storage.getValue(17) == null) { Storage.setValue(17, 22); } //small length data field 3
4647
}
4748

4849
// Generate a new Menu with a drawable Title
@@ -409,13 +410,13 @@ class CustomThickness extends WatchUi.Drawable {
409410

410411
function initialize() {
411412
Drawable.initialize({});
412-
if (Storage.getValue(13) == false or Storage.getValue(13) == null){
413+
/*if (Storage.getValue(13) == false or Storage.getValue(13) == null){
413414
mIndex = 0;
414415
} else if (Storage.getValue(13) == true) {
415416
mIndex = 1;
416-
} else {
417+
} else {*/
417418
mIndex=Storage.getValue(13);
418-
}
419+
//}
419420
}
420421

421422
// Advance to the next color state for the drawable

0 commit comments

Comments
 (0)