From 0e5b3ab4bed1343126a92b875d19d26d573ec7cd Mon Sep 17 00:00:00 2001 From: echel0n Date: Thu, 6 Feb 2025 17:49:17 -0800 Subject: [PATCH] refactored formatNativeUrl for Galaxy Station mobile --- .../src/wallet-connect/registry.ts | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/wallets/galaxy-station-mobile/src/wallet-connect/registry.ts b/wallets/galaxy-station-mobile/src/wallet-connect/registry.ts index 1d10127f9..dd9958321 100644 --- a/wallets/galaxy-station-mobile/src/wallet-connect/registry.ts +++ b/wallets/galaxy-station-mobile/src/wallet-connect/registry.ts @@ -41,21 +41,13 @@ export const GalaxyStationMobileInfo: Wallet = { }, }, formatNativeUrl: ( - appUrl: string, + _appUrl: string, wcUri: string, - os: OS | undefined, + _os: OS | undefined, _name: string ): string => { - const plainAppUrl = appUrl.split(':')[0]; const encodedWcUrl = encodeURIComponent(wcUri); - switch (os) { - case 'ios': - return `https://station.hexxagon.io/wcV2?${encodedWcUrl}`; - case 'android': - return `https://station.hexxagon.io/wcV2?${encodedWcUrl}`; - default: - return `https://station.hexxagon.io/wcV2?${encodedWcUrl}`; - } + return `https://station.hexxagon.io/wcV2?${encodedWcUrl}`; }, }, };