mirror of
https://github.com/aljazceru/sendstr-web.git
synced 2025-12-17 06:24:24 +01:00
fix: change dark mode qr code styling as scan workaround
This commit is contained in:
@@ -75,16 +75,18 @@ export const ReceiveView = ({ keys }: ReceiveViewProps) => {
|
|||||||
<div className="flex flex-col lg:flex-row">
|
<div className="flex flex-col lg:flex-row">
|
||||||
{peerKey === "" && (
|
{peerKey === "" && (
|
||||||
<div className="overflow-visible py-5 max-w-[20rem] mx-auto lg:pr-5">
|
<div className="overflow-visible py-5 max-w-[20rem] mx-auto lg:pr-5">
|
||||||
|
<div className="dark:bg-white dark:p-5 dark:rounded-xl">
|
||||||
<QRCodeSVG
|
<QRCodeSVG
|
||||||
value={keys.pub}
|
value={keys.pub}
|
||||||
level="H"
|
level="H"
|
||||||
bgColor="transparent"
|
bgColor="white"
|
||||||
fgColor={isDarkMode ? "#f3f4f6" : "black"}
|
fgColor="black"
|
||||||
includeMargin={false}
|
includeMargin={false}
|
||||||
width="100%"
|
width="100%"
|
||||||
height="100%"
|
height="100%"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
)}
|
)}
|
||||||
<div className="flex flex-col items-center justify-center w-full">
|
<div className="flex flex-col items-center justify-center w-full">
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
Reference in New Issue
Block a user