diff --git a/ui/src/screens/Wallet.svelte b/ui/src/screens/Wallet.svelte index e3e8bb4..61be5e9 100644 --- a/ui/src/screens/Wallet.svelte +++ b/ui/src/screens/Wallet.svelte @@ -30,6 +30,9 @@ // muted and taps explain why, rather than hiding the storefront. VK's device family is not on the // client platformSubtype (server-derived) — read it from the signed vk_platform launch param. const purchaseBlocked = context === 'vk' && normalizeSubtype(vkPlatform()) === 'ios'; + // The "other version" link points at this deployment's own site root (the landing lists every + // platform), so it follows prod vs the contour without a hardcoded host. + const siteRoot = typeof location !== 'undefined' ? `${location.origin}/` : '/'; const values = $derived(catalog?.products.filter((p) => p.kind === 'value') ?? []); const packs = $derived(catalog?.products.filter((p) => p.kind === 'pack') ?? []); @@ -154,7 +157,7 @@

{t('wallet.store')}

{#if purchaseBlocked} -

{t('wallet.iosBlockedPre')}{t('wallet.iosBlockedLink')}{t('wallet.iosBlockedPost')}

+

{t('wallet.iosBlockedPre')}{t('wallet.iosBlockedLink')}{t('wallet.iosBlockedPost')}

{/if} {#each values as p (p.productId)}