feat(gui): Button to open modal with QR code of Bitcoin address (#116)

This commit is contained in:
binarybaron 2024-10-14 04:01:11 +06:00 committed by GitHub
parent 2bffe40a37
commit 15b43bf4a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 134 additions and 71 deletions

View file

@ -10,7 +10,7 @@ import {
} from "@material-ui/core";
import { OpenInNew } from "@material-ui/icons";
import { GetSwapInfoResponse } from "models/tauriModel";
import CopyableMonospaceTextBox from "renderer/components/other/CopyableMonospaceTextBox";
import ActionableMonospaceTextBox from "renderer/components/other/ActionableMonospaceTextBox";
import MonospaceTextBox from "renderer/components/other/MonospaceTextBox";
import {
MoneroBitcoinExchangeRate,
@ -90,7 +90,7 @@ export default function HistoryRowExpanded({
<TableCell>
<Box>
{swap.seller.addresses.map((addr) => (
<CopyableMonospaceTextBox key={addr} address={addr} />
<ActionableMonospaceTextBox key={addr} content={addr} displayCopyIcon={false} enableQrCode={false} />
))}
</Box>
</TableCell>