remove extra read
parent
8bfce14000
commit
79d4d38baa
|
|
@ -14,7 +14,7 @@ const settings = require("Storage").readJSON("largeclock.json", 1)||{};
|
||||||
const BTN1app = settings.BTN1 || "";
|
const BTN1app = settings.BTN1 || "";
|
||||||
const BTN3app = settings.BTN3 || "";
|
const BTN3app = settings.BTN3 || "";
|
||||||
|
|
||||||
const right_hand = (require("Storage").readJSON("largeclock.json",1)||{}).right_hand;
|
const right_hand = !!settings.right_hand;
|
||||||
const rotation = right_hand ? 3 : 1;
|
const rotation = right_hand ? 3 : 1;
|
||||||
|
|
||||||
function drawMoon(d) {
|
function drawMoon(d) {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"BTN1": "",
|
"BTN1": "",
|
||||||
"BTN3": "",
|
"BTN3": "",
|
||||||
"right_hand": true
|
"right_hand": false
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue