diff --git a/app/screens/settings-screen/settings/account-pos.tsx b/app/screens/settings-screen/settings/account-pos.tsx index 538daa2051..22e3e1384d 100644 --- a/app/screens/settings-screen/settings/account-pos.tsx +++ b/app/screens/settings-screen/settings/account-pos.tsx @@ -9,7 +9,8 @@ import { SettingsRow } from "../row" export const AccountPOS: React.FC = () => { const { appConfig } = useAppConfig() - const posUrl = appConfig.galoyInstance.lnAddressHostname + const posUrl = appConfig.galoyInstance.posUrl + const shortUrl = appConfig.galoyInstance.lnAddressHostname const { LL } = useI18nContext() @@ -17,12 +18,13 @@ 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 9aa6281734..a5b77062b7 100644 --- a/app/screens/settings-screen/settings/account-static-qr.tsx +++ b/app/screens/settings-screen/settings/account-static-qr.tsx @@ -9,7 +9,8 @@ import { SettingsRow } from "../row" export const AccountStaticQR: React.FC = () => { const { appConfig } = useAppConfig() - const posUrl = appConfig.galoyInstance.lnAddressHostname + const posUrl = appConfig.galoyInstance.posUrl + const shortUrl = appConfig.galoyInstance.lnAddressHostname const { LL } = useI18nContext() @@ -17,12 +18,13 @@ 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 ( }