We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
return await
1 parent 6e1bfc3 commit 7ee12dcCopy full SHA for 7ee12dc
src/main/index.js
@@ -86,7 +86,7 @@ const makeFullUrl = (url, search = null) =>
86
const askForMediaAccess = async mediaType => {
87
if (systemPreferences.askForMediaAccess) {
88
// Electron currently only implements this on macOS
89
- return await systemPreferences.askForMediaAccess(mediaType);
+ return systemPreferences.askForMediaAccess(mediaType);
90
}
91
// For other platforms we can't reasonably do anything other than assume we have access.
92
return true;
0 commit comments