Removed flashlight bug that event listener isn't cleared

This commit is contained in:
Blue Fox 2022-06-06 13:27:21 +02:00
parent 9e607b8190
commit a6df06345b

View File

@ -16,7 +16,7 @@ function drawFace() {
}
function stop() {
Bangle.removeListener("swipe", callbackFill);
Bangle.removeAllListeners();
}
return { drawFace:drawFace, stop:stop };