mirror of https://github.com/espruino/BangleApps
score: keep specific settings when selecting new preset
parent
a575f323d8
commit
729f5baf16
|
@ -90,7 +90,11 @@
|
|||
m[presetNames[i]] = (function (i) {
|
||||
return function() {
|
||||
changed = true;
|
||||
let mirrorScoreButtons = settings.mirrorScoreButtons;
|
||||
|
||||
settings = fillSettingsWithDefaults(presets[presetNames[i]]);
|
||||
|
||||
settings.mirrorScoreButtons = mirrorScoreButtons;
|
||||
save(settings);
|
||||
ret(true);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue