Skip to content

Commit 21771bb

Browse files
author
Bogdan Mykolaichuk
committed
[0238] Apply comments
1 parent 15e9c97 commit 21771bb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lib/js/src/manager/screen/choiceset/_PresentChoiceSetOperation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ class _PresentChoiceSetOperation extends _Task {
306306
} else if (onKeyboardInput.getEvent() === KeyboardEvent.ENTRY_ABORTED || onKeyboardInput.getEvent() === KeyboardEvent.ENTRY_CANCELLED) {
307307
// notify of abort / cancelation
308308
this._keyboardListener.onKeyboardDidAbortWithReason(onKeyboardInput.getEvent());
309-
} else if (onKeyboardInput.getEvent().equals(KeyboardEvent.INPUT_KEY_MASK_ENABLED) || onKeyboardInput.getEvent().equals(KeyboardEvent.INPUT_KEY_MASK_DISABLED)) {
309+
} else if (onKeyboardInput.getEvent() === KeyboardEvent.INPUT_KEY_MASK_ENABLED || onKeyboardInput.getEvent() === KeyboardEvent.INPUT_KEY_MASK_DISABLED) {
310310
this._keyboardListener.onKeyboardInputMaskHasChanged(onKeyboardInput.getEvent());
311311
}
312312
};

lib/js/src/manager/screen/choiceset/_PresentKeyboardOperation.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,8 @@ class _PresentKeyboardOperation extends _Task {
249249
} else if (onKeyboardInput.getEvent() === KeyboardEvent.ENTRY_ABORTED || onKeyboardInput.getEvent() === KeyboardEvent.ENTRY_CANCELLED) {
250250
// notify of abort / cancelation
251251
this._keyboardListener.onKeyboardDidAbortWithReason(onKeyboardInput.getEvent());
252+
} else if (onKeyboardInput.getEvent() === KeyboardEvent.INPUT_KEY_MASK_ENABLED || onKeyboardInput.getEvent() === KeyboardEvent.INPUT_KEY_MASK_DISABLED) {
253+
this._keyboardListener.onKeyboardInputMaskHasChanged(onKeyboardInput.getEvent());
252254
}
253255
};
254256

0 commit comments

Comments
 (0)