Skip to content

Commit

Permalink
chore: add go logo to receive qr (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
im-adithya authored Oct 29, 2024
1 parent c1f439a commit 5244ecb
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions pages/receive/Receive.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Nip47Transaction } from "@getalby/sdk/dist/NWCClient";
import * as Clipboard from "expo-clipboard";
import { Link, router } from "expo-router";
import React from "react";
import { Share, TouchableOpacity, View } from "react-native";
import { Image, Share, TouchableOpacity, View } from "react-native";
import Toast from "react-native-toast-message";
import DismissableKeyboardView from "~/components/DismissableKeyboardView";
import { DualCurrencyInput } from "~/components/DualCurrencyInput";
Expand Down Expand Up @@ -207,7 +207,16 @@ export function Receive() {
{!enterCustomAmount && (invoice.length || lightningAddress) && (
<>
<View className="flex-1 justify-center items-center gap-8">
<QRCode value={invoice || lightningAddress || ""} />
<View className="justify-center">
<QRCode value={invoice || lightningAddress || ""} />
<View className="absolute self-center p-2 rounded-2xl bg-white">
<Image
source={require("../../assets/icon.png")}
className="w-20 h-20 rounded-xl"
resizeMode="contain"
/>
</View>
</View>
<View className="flex flex-col items-center justify-center gap-2">
{invoice ? (
<View className="flex flex-row items-end">
Expand Down

0 comments on commit 5244ecb

Please sign in to comment.