grant the permission for other types of permission requests
This commit is contained in:
parent
a53c252042
commit
b0756b9174
1 changed files with 1 additions and 1 deletions
|
@ -17,6 +17,6 @@ export function registerMediaPermissionsHandler() {
|
|||
if (details.mediaTypes?.includes("video")) {
|
||||
systemPreferences.askForMediaAccess("camera").then(callback);
|
||||
}
|
||||
}
|
||||
} else callback(true);
|
||||
});
|
||||
}
|
||||
|
|
Reference in a new issue