small tweak for Bangle2

pull/847/head
Gordon Williams 2021-10-11 14:00:40 +01:00
parent 66bfee0ff0
commit e8d8de648b
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ function setupInputWatchers(init) {
}
});
if (init) {
setWatch(() => handleInput(2), isBangle1 != null ? BTN2 : BTN, { repeat: true });
setWatch(() => handleInput(2), isBangle1 ? BTN2 : BTN, { repeat: true });
Bangle.on('touch', (b, e) => {
if (isBangle1) {
if (b === 1) {