Removed flashlight bug that event listener isn't cleared
This commit is contained in:
parent
9e607b8190
commit
a6df06345b
@ -16,7 +16,7 @@ function drawFace() {
|
||||
}
|
||||
|
||||
function stop() {
|
||||
Bangle.removeListener("swipe", callbackFill);
|
||||
Bangle.removeAllListeners();
|
||||
}
|
||||
|
||||
return { drawFace:drawFace, stop:stop };
|
||||
|
Loading…
Reference in New Issue
Block a user