From 922902e447436539c3394cd2ccdea2e518bfa795 Mon Sep 17 00:00:00 2001 From: openoms <43343391+openoms@users.noreply.github.com> Date: Fri, 6 Dec 2024 08:58:56 +0100 Subject: [PATCH] fix: show full address for pos and static qr in settings (#3349) --- app/screens/settings-screen/settings/account-pos.tsx | 4 +--- app/screens/settings-screen/settings/account-static-qr.tsx | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/app/screens/settings-screen/settings/account-pos.tsx b/app/screens/settings-screen/settings/account-pos.tsx index 22e3e1384d..abc6a09b17 100644 --- a/app/screens/settings-screen/settings/account-pos.tsx +++ b/app/screens/settings-screen/settings/account-pos.tsx @@ -10,7 +10,6 @@ import { SettingsRow } from "../row" export const AccountPOS: React.FC = () => { const { appConfig } = useAppConfig() const posUrl = appConfig.galoyInstance.posUrl - const shortUrl = appConfig.galoyInstance.lnAddressHostname const { LL } = useI18nContext() @@ -18,13 +17,12 @@ export const AccountPOS: React.FC = () => { if (!data?.me?.username) return <> const pos = `${posUrl}/${data.me.username}` - const short = `${shortUrl}/${data.me.username}` return ( 22} leftIcon="calculator" rightIcon={} diff --git a/app/screens/settings-screen/settings/account-static-qr.tsx b/app/screens/settings-screen/settings/account-static-qr.tsx index a5b77062b7..90a3d79661 100644 --- a/app/screens/settings-screen/settings/account-static-qr.tsx +++ b/app/screens/settings-screen/settings/account-static-qr.tsx @@ -10,7 +10,6 @@ import { SettingsRow } from "../row" export const AccountStaticQR: React.FC = () => { const { appConfig } = useAppConfig() const posUrl = appConfig.galoyInstance.posUrl - const shortUrl = appConfig.galoyInstance.lnAddressHostname const { LL } = useI18nContext() @@ -18,13 +17,12 @@ export const AccountStaticQR: React.FC = () => { if (!data?.me?.username) return <> const qrUrl = `${posUrl}/${data.me.username}/print` - const short = `${shortUrl}/${data.me.username}/print` return ( }