Merge pull request #3228 from oxen-io/release/1.14.2

fix: test if rosetta emulation needs more time to mount react qrcode
pull/3256/head v1.14.2
Audric Ackermann 1 year ago committed by GitHub
commit 3cadc54e44
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -2,7 +2,7 @@
"name": "session-desktop", "name": "session-desktop",
"productName": "Session", "productName": "Session",
"description": "Private messaging from your desktop", "description": "Private messaging from your desktop",
"version": "1.14.1", "version": "1.14.2",
"license": "GPL-3.0", "license": "GPL-3.0",
"author": { "author": {
"name": "Oxen Labs", "name": "Oxen Labs",

@ -58,12 +58,11 @@ export const convertIconToImageURL = async (
/> />
); );
// wait for it to render // wait for it to render
await sleepFor(100); await sleepFor(200);
const svg = root?.querySelector(`#icon-to-image-url svg`); const svg = root?.querySelector(`#icon-to-image-url svg`);
svg?.setAttribute('xmlns', 'http://www.w3.org/2000/svg'); svg?.setAttribute('xmlns', 'http://www.w3.org/2000/svg');
const svgString = svg?.outerHTML; const svgString = svg?.outerHTML;
reactRoot?.unmount(); reactRoot?.unmount();
root?.removeChild(divElement); root?.removeChild(divElement);

Loading…
Cancel
Save