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