mirror of https://github.com/espruino/BangleApps
settings: charge calibration restores util menu
parent
ba1506d1ba
commit
24d92f4f03
|
@ -702,7 +702,7 @@ function utilMenu() {
|
||||||
storage.writeJSON("setting.json",s);
|
storage.writeJSON("setting.json",s);
|
||||||
E.showAlert(/*LANG*/"Calibrated!").then(() => load("setting.app.js"));
|
E.showAlert(/*LANG*/"Calibrated!").then(() => load("setting.app.js"));
|
||||||
} else {
|
} else {
|
||||||
E.showAlert(/*LANG*/"Please charge Bangle.js for 3 hours and try again").then(() => load("setting.app.js"));
|
E.showAlert(/*LANG*/"Please charge Bangle.js for 3 hours and try again").then(back);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue