mirror of https://github.com/espruino/BangleApps
Added fixed on not reading defaults in counter2 settings
parent
9e88c40f4a
commit
5323f83146
|
@ -2,3 +2,4 @@
|
||||||
0.02: Added Settings & readme
|
0.02: Added Settings & readme
|
||||||
0.03: Fix lint warnings
|
0.03: Fix lint warnings
|
||||||
0.04: Fix lint warnings
|
0.04: Fix lint warnings
|
||||||
|
0.05: Fix on not reading counter defaults in Settings
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"id": "counter2",
|
"id": "counter2",
|
||||||
"name": "Counter2",
|
"name": "Counter2",
|
||||||
"version": "0.04",
|
"version": "0.05",
|
||||||
"description": "Dual Counter",
|
"description": "Dual Counter",
|
||||||
"readme":"README.md",
|
"readme":"README.md",
|
||||||
"icon": "counter2-icon.png",
|
"icon": "counter2-icon.png",
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
"": { "title": "Counter2" },
|
"": { "title": "Counter2" },
|
||||||
"< Back": () => back(),
|
"< Back": () => back(),
|
||||||
'Default C1': {
|
'Default C1': {
|
||||||
value: settings[0],
|
value: settings.max0,
|
||||||
min: -99, max: 99,
|
min: -99, max: 99,
|
||||||
onchange: v => {
|
onchange: v => {
|
||||||
settings.max0 = v;
|
settings.max0 = v;
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'Default C2': {
|
'Default C2': {
|
||||||
value: settings[2],
|
value: settings.max1,
|
||||||
min: -99, max: 99,
|
min: -99, max: 99,
|
||||||
onchange: v => {
|
onchange: v => {
|
||||||
settings.max1 = v;
|
settings.max1 = v;
|
||||||
|
|
Loading…
Reference in New Issue