Simplify permissions popup IPC
This commit is contained in:
parent
c822c45310
commit
50dc534164
7 changed files with 18 additions and 25 deletions
6
ts/window.d.ts
vendored
6
ts/window.d.ts
vendored
|
@ -160,7 +160,10 @@ declare global {
|
|||
|
||||
QRCode: any;
|
||||
removeSetupMenuItems: () => unknown;
|
||||
showPermissionsPopup: () => Promise<void>;
|
||||
showPermissionsPopup: (
|
||||
forCalling: boolean,
|
||||
forCamera: boolean
|
||||
) => Promise<void>;
|
||||
|
||||
FontFace: typeof FontFace;
|
||||
_: typeof Underscore;
|
||||
|
@ -211,7 +214,6 @@ declare global {
|
|||
getTitle: () => string;
|
||||
waitForEmptyEventQueue: () => Promise<void>;
|
||||
getVersion: () => string;
|
||||
showCallingPermissionsPopup: (forCamera: boolean) => Promise<void>;
|
||||
i18n: LocalizerType;
|
||||
isActive: () => boolean;
|
||||
isAfterVersion: (version: string, anotherVersion: string) => boolean;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue