Simplify permissions popup IPC
This commit is contained in:
parent
c822c45310
commit
50dc534164
7 changed files with 18 additions and 25 deletions
|
@ -44,7 +44,7 @@ export class RecorderClass {
|
|||
}
|
||||
|
||||
async start(): Promise<boolean> {
|
||||
const hasMicrophonePermission = await requestMicrophonePermissions();
|
||||
const hasMicrophonePermission = await requestMicrophonePermissions(false);
|
||||
if (!hasMicrophonePermission) {
|
||||
log.info(
|
||||
'Recorder/start: Microphone permission was denied, new audio recording not allowed.'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue