Skip to content

Commit

Permalink
Merge pull request #3730 from voloved/counter2
Browse files Browse the repository at this point in the history
Fix with counter2's default values in settings
  • Loading branch information
thyttan authored Feb 2, 2025
2 parents c74c99a + 5323f83 commit 99e8485
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions apps/counter2/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
0.02: Added Settings & readme
0.03: Fix lint warnings
0.04: Fix lint warnings
0.05: Fix on not reading counter defaults in Settings
2 changes: 1 addition & 1 deletion apps/counter2/metadata.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "counter2",
"name": "Counter2",
"version": "0.04",
"version": "0.05",
"description": "Dual Counter",
"readme":"README.md",
"icon": "counter2-icon.png",
Expand Down
4 changes: 2 additions & 2 deletions apps/counter2/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
"": { "title": "Counter2" },
"< Back": () => back(),
'Default C1': {
value: settings[0],
value: settings.max0,
min: -99, max: 99,
onchange: v => {
settings.max0 = v;
writeSettings();
}
},
'Default C2': {
value: settings[2],
value: settings.max1,
min: -99, max: 99,
onchange: v => {
settings.max1 = v;
Expand Down

0 comments on commit 99e8485

Please sign in to comment.