Skip to content

Commit 128db0a

Browse files
authored
Merge pull request #541 from hexxagon-io/main
refactored formatNativeUrl for Galaxy Station mobile
2 parents 37ec0fe + fe70f5e commit 128db0a

File tree

1 file changed

+3
-11
lines changed
  • wallets/galaxy-station-mobile/src/wallet-connect

1 file changed

+3
-11
lines changed

wallets/galaxy-station-mobile/src/wallet-connect/registry.ts

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,21 +41,13 @@ export const GalaxyStationMobileInfo: Wallet = {
4141
},
4242
},
4343
formatNativeUrl: (
44-
appUrl: string,
44+
_appUrl: string,
4545
wcUri: string,
46-
os: OS | undefined,
46+
_os: OS | undefined,
4747
_name: string
4848
): string => {
49-
const plainAppUrl = appUrl.split(':')[0];
5049
const encodedWcUrl = encodeURIComponent(wcUri);
51-
switch (os) {
52-
case 'ios':
53-
return `https://station.hexxagon.io/wcV2?${encodedWcUrl}`;
54-
case 'android':
55-
return `https://station.hexxagon.io/wcV2?${encodedWcUrl}`;
56-
default:
57-
return `https://station.hexxagon.io/wcV2?${encodedWcUrl}`;
58-
}
50+
return `https://station.hexxagon.io/wcV2?${encodedWcUrl}`;
5951
},
6052
},
6153
};

0 commit comments

Comments
 (0)