connectWallet method
Implementation
@override
Future<void> connectWallet({
required WalletData walletData,
}) async {
_checkInitialized();
if (_connectingWallet) {
return;
}
_connectingWallet = true;
try {
await rebuildConnectionUri();
await urlUtils.instance.navigateDeepLink(
nativeLink: walletData.listing.mobile.native,
universalLink: walletData.listing.mobile.universal,
wcURI: wcUri!,
);
} on LaunchUrlException catch (e) {
toastUtils.instance.show(
ToastMessage(
type: ToastType.error,
text: e.message,
),
);
}
_connectingWallet = false;
}