mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-19 07:58:46 +01:00
Render QR code with SVG, not canvas
This commit is contained in:
@@ -7527,10 +7527,10 @@
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "ts/components/QrCode.tsx",
|
||||
"line": " const canvasRef = useRef<null | HTMLCanvasElement>(null);",
|
||||
"line": " const elRef = useRef<null | HTMLImageElement>(null);",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2022-01-04T21:43:17.517Z",
|
||||
"reasonDetail": "Used to draw on the canvas."
|
||||
"reasonDetail": "Used to change the style in non-production builds."
|
||||
},
|
||||
{
|
||||
"rule": "React-createRef",
|
||||
|
||||
Reference in New Issue
Block a user