aboutsummaryrefslogtreecommitdiffstats
path: root/src/webview/recipe.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/webview/recipe.ts')
-rw-r--r--src/webview/recipe.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/webview/recipe.ts b/src/webview/recipe.ts
index b394f1517..f2a13f224 100644
--- a/src/webview/recipe.ts
+++ b/src/webview/recipe.ts
@@ -158,6 +158,7 @@ class RecipeController {
158 'service-settings-update': 'updateServiceSettings', 158 'service-settings-update': 'updateServiceSettings',
159 'get-service-id': 'serviceIdEcho', 159 'get-service-id': 'serviceIdEcho',
160 'find-in-page': 'openFindInPage', 160 'find-in-page': 'openFindInPage',
161 'toggle-to-talk': 'toggleToTalk',
161 }; 162 };
162 163
163 universalDarkModeInjected = false; 164 universalDarkModeInjected = false;
@@ -483,6 +484,10 @@ class RecipeController {
483 }, 225), 484 }, 225),
484 ); 485 );
485 } 486 }
487
488 toggleToTalk() {
489 this.recipe?.toggleToTalkFunc?.();
490 }
486} 491}
487 492
488/* eslint-disable no-new */ 493/* eslint-disable no-new */