Default to clock
parent
397908afcd
commit
83e5f681c2
|
|
@ -8,8 +8,13 @@ Bangle.on("lock", locked => {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
E.on("init", () => {
|
E.on("init", () => {
|
||||||
if("__FILE__" in global && __FILE__ !== "powersave.screen.js")
|
if("__FILE__" in global && __FILE__ !== "powersave.screen.js"){
|
||||||
Storage.write("powersave.json", {
|
Storage.write("powersave.json", {
|
||||||
app: __FILE__
|
app: __FILE__
|
||||||
});
|
});
|
||||||
|
}else{
|
||||||
|
Storage.write("powersave.json", {
|
||||||
|
app: null
|
||||||
|
});
|
||||||
|
}
|
||||||
});
|
});
|
||||||
Loading…
Reference in New Issue