File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -34,9 +34,7 @@ const withVosk = (config, props = {}) => {
3434 if ( iOSMicrophonePermission ) {
3535 withInfoPlist ( config , ( configMod ) => {
3636 configMod . modResults . NSMicrophoneUsageDescription =
37- iOSMicrophonePermission ||
38- configMod . modResults . NSMicrophoneUsageDescription ||
39- 'Microphone access is required for speech recognition' ;
37+ iOSMicrophonePermission ;
4038 return configMod ;
4139 } ) ;
4240 }
Original file line number Diff line number Diff line change @@ -22,9 +22,7 @@ const withVosk: ConfigPlugin<VoskPluginProps> = (
2222 if ( iOSMicrophonePermission ) {
2323 withInfoPlist ( config , ( configMod ) => {
2424 configMod . modResults . NSMicrophoneUsageDescription =
25- iOSMicrophonePermission ||
26- configMod . modResults . NSMicrophoneUsageDescription ||
27- 'Microphone access is required for speech recognition' ;
25+ iOSMicrophonePermission ;
2826 return configMod ;
2927 } ) ;
3028 }
You can’t perform that action at this time.
0 commit comments