Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Tonkeeper icon for Tonkeeper connection QR #175

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added src/assets/icons/tonkeeper-qr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion src/components/connectPopup/ConnectQR.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ import Fade from "@mui/material/Fade";
import CircularProgress from "@mui/material/CircularProgress";
import { styled } from "@mui/system";
import TonhubQr from "assets/icons/tonhub-qr.png";
import TonkeeperQr from "assets/icons/tonkeeper-qr.png";
import Header from "./Header";
import { Providers } from "lib/env-profiles";

const StyledContainer = styled(Box)({
display: "flex",
Expand Down Expand Up @@ -48,7 +50,7 @@ function QR({ onClose, link, open, walletName }: Props) {
level={"L"}
includeMargin={false}
imageSettings={{
src: TonhubQr,
src: walletName === Providers.TON_HUB ? TonhubQr : TonkeeperQr,
height: 50,
width: 50,
excavate: true,
Expand Down