Skip to content

Commit e1227af

Browse files
authored
fix: correct Trust Wallet deeplink format (#57)
The previous deeplink schema was incorrect. According to the latest Trust Wallet documentation, the correct format is: https://link.trustwallet.com/open_url?url=xxx
1 parent a169baa commit e1227af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/adapters/trust/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const isTrustApp = function () {
1212
};
1313
export function openTrustWallet() {
1414
if (!isTrustApp() && isInMobileBrowser()) {
15-
window.location.href = 'https://link.trustwallet.com?source=' + encodeURIComponent(window.location.href);
15+
window.location.href = 'https://link.trustwallet.com/open_url?url=' + encodeURIComponent(window.location.href);
1616
return true;
1717
}
1818

0 commit comments

Comments
 (0)