Skip to content

Commit

Permalink
Merge pull request #3228 from oxen-io/release/1.14.2
Browse files Browse the repository at this point in the history
fix: test if rosetta emulation needs more time to mount react qrcode
  • Loading branch information
Bilb authored Sep 30, 2024
2 parents bce4bd4 + 980554c commit 3cadc54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "session-desktop",
"productName": "Session",
"description": "Private messaging from your desktop",
"version": "1.14.1",
"version": "1.14.2",
"license": "GPL-3.0",
"author": {
"name": "Oxen Labs",
Expand Down
3 changes: 1 addition & 2 deletions ts/hooks/useIconToImageURL.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,11 @@ export const convertIconToImageURL = async (
/>
);
// wait for it to render
await sleepFor(100);
await sleepFor(200);

const svg = root?.querySelector(`#icon-to-image-url svg`);
svg?.setAttribute('xmlns', 'http://www.w3.org/2000/svg');
const svgString = svg?.outerHTML;

reactRoot?.unmount();
root?.removeChild(divElement);

Expand Down

0 comments on commit 3cadc54

Please sign in to comment.