diff --git a/pages/send/PaymentSuccess.tsx b/pages/send/PaymentSuccess.tsx index 3f5c7d1..40273ad 100644 --- a/pages/send/PaymentSuccess.tsx +++ b/pages/send/PaymentSuccess.tsx @@ -1,4 +1,4 @@ -import { Link, router, useLocalSearchParams } from "expo-router"; +import { router, useLocalSearchParams } from "expo-router"; import { View } from "react-native"; import { Paid } from "~/animations/Paid"; import { Button } from "~/components/ui/button"; @@ -6,6 +6,7 @@ import { Text } from "~/components/ui/text"; import Screen from "~/components/Screen"; import { useGetFiatAmount } from "~/hooks/useGetFiatAmount"; import { LNURLPaymentSuccessAction } from "lib/lnurl"; +import { openURL } from "expo-linking"; export function PaymentSuccess() { const getFiatAmount = useGetFiatAmount(); @@ -47,20 +48,18 @@ export function PaymentSuccess() { } {lnurlSuccessAction.tag == "url" && <> - - {lnurlSuccessAction.description} - + {lnurlSuccessAction.description && + + {lnurlSuccessAction.description} + + } {lnurlSuccessAction.url && - - - + } } - - } {originalText !== invoice &&