fix double screen

This commit is contained in:
PhilReact 2024-10-14 19:35:36 +03:00
parent b8d5481633
commit 771d6c16f1

View File

@ -79,8 +79,9 @@ async function getUserPermission(payload: any) {
top: 0,
},
async (newWindow) => {
removeDuplicateWindow(popupUrl);
await waitForWindowReady(newWindow.id);
removeDuplicateWindow(popupUrl);
res(null)
}
);