mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
fix animated qr in dark mode (#14900)
This commit is contained in:
parent
f9edbf50ce
commit
804db7f1dc
@ -43,7 +43,12 @@ const Player = ({ type, cbor, cancelQRHardwareSignRequest, toRead }) => {
|
|||||||
alignItems={ALIGN_ITEMS.CENTER}
|
alignItems={ALIGN_ITEMS.CENTER}
|
||||||
flexDirection={FLEX_DIRECTION.COLUMN}
|
flexDirection={FLEX_DIRECTION.COLUMN}
|
||||||
>
|
>
|
||||||
<div style={{ border: '20px solid var(--qr-code-white-background)' }}>
|
<div
|
||||||
|
style={{
|
||||||
|
padding: 20,
|
||||||
|
backgroundColor: 'var(--qr-code-white-background)',
|
||||||
|
}}
|
||||||
|
>
|
||||||
<QRCode value={currentQRCode.toUpperCase()} size={250} />
|
<QRCode value={currentQRCode.toUpperCase()} size={250} />
|
||||||
</div>
|
</div>
|
||||||
</Box>
|
</Box>
|
||||||
|
Loading…
Reference in New Issue
Block a user