mirror of https://github.com/espruino/BangleApps
fix: remove unused variable
parent
a391f9a1b3
commit
04d838dccc
|
@ -79,8 +79,6 @@ const runHassio = () => {
|
|||
const getBattery = () => {
|
||||
const b = E.getBattery(),
|
||||
c = Bangle.isCharging();
|
||||
let i = "mdi:battery";
|
||||
if (c) i += "-charging";
|
||||
|
||||
return {
|
||||
state: c ? "charging" : "discharging",
|
||||
|
|
Loading…
Reference in New Issue