aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/GlobalKeyHandler.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/GlobalKeyHandler.ts')
-rw-r--r--src/client/views/GlobalKeyHandler.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/views/GlobalKeyHandler.ts b/src/client/views/GlobalKeyHandler.ts
index 59d120974..99345f04e 100644
--- a/src/client/views/GlobalKeyHandler.ts
+++ b/src/client/views/GlobalKeyHandler.ts
@@ -114,15 +114,15 @@ export default class KeyManager {
let main = MainView.Instance;
main.dictationOverlayVisible = true;
main.isListening = true;
- let manager = DictationManager.Instance;
- let command = await manager.listen();
+ let dictation = DictationManager.Instance;
+ let command = await dictation.listen();
main.isListening = false;
if (!command) {
break;
}
command = command.toLowerCase();
main.dictatedPhrase = command;
- main.dictationSuccess = await manager.execute(command);
+ main.dictationSuccess = await dictation.execute(command);
main.overlayTimeout = setTimeout(() => {
main.dictationOverlayVisible = false;
main.dictationSuccess = undefined;