Skip to content

Commit 98c2538

Browse files
authored
voice - tweak status bar entry (microsoft#202736)
1 parent 2cec7a8 commit 98c2538

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/vs/workbench/contrib/chat/electron-sandbox/actions/voiceChatActions.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -905,8 +905,8 @@ class KeywordActivationStatusEntry extends Disposable {
905905

906906
private static STATUS_NAME = localize('keywordActivation.status.name', "Voice Keyword Activation");
907907
private static STATUS_COMMAND = 'keywordActivation.status.command';
908-
private static STATUS_ACTIVE = localize('keywordActivation.status.active', "Voice Keyword Activation: Active");
909-
private static STATUS_INACTIVE = localize('keywordActivation.status.inactive', "Voice Keyword Activation: Inactive");
908+
private static STATUS_ACTIVE = localize('keywordActivation.status.active', "Listening to 'Hey Code'...");
909+
private static STATUS_INACTIVE = localize('keywordActivation.status.inactive', "Waiting for voice chat to end...");
910910

911911
constructor(
912912
@ISpeechService private readonly speechService: ISpeechService,
@@ -952,11 +952,11 @@ class KeywordActivationStatusEntry extends Disposable {
952952
private getStatusEntryProperties(): IStatusbarEntry {
953953
return {
954954
name: KeywordActivationStatusEntry.STATUS_NAME,
955-
text: '$(mic)',
955+
text: this.speechService.hasActiveKeywordRecognition ? '$(mic-filled)' : '$(mic)',
956956
tooltip: this.speechService.hasActiveKeywordRecognition ? KeywordActivationStatusEntry.STATUS_ACTIVE : KeywordActivationStatusEntry.STATUS_INACTIVE,
957957
ariaLabel: this.speechService.hasActiveKeywordRecognition ? KeywordActivationStatusEntry.STATUS_ACTIVE : KeywordActivationStatusEntry.STATUS_INACTIVE,
958958
command: KeywordActivationStatusEntry.STATUS_COMMAND,
959-
kind: this.speechService.hasActiveKeywordRecognition ? 'prominent' : 'standard'
959+
kind: 'prominent'
960960
};
961961
}
962962

0 commit comments

Comments
 (0)