From dae7fe3b0ffc02bfc1c18e2b65f13c1065c5d1b9 Mon Sep 17 00:00:00 2001 From: Gordon Williams Date: Sun, 10 Nov 2019 11:23:35 +0000 Subject: [PATCH] fix gesture --- apps/hid-keyboard.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/hid-keyboard.js b/apps/hid-keyboard.js index 41fdfa8ac..1e734edc5 100644 --- a/apps/hid-keyboard.js +++ b/apps/hid-keyboard.js @@ -51,7 +51,7 @@ function drawApp() { if (next) { if (settings.HIDGestures) { - Bangle.on('aiGestures', (v) => { + Bangle.on('aiGesture', (v) => { switch (v) { case 'swipeleft': E.showMessage('next'); @@ -101,4 +101,3 @@ if (next) { drawApp(); } -