remove unecessary changes and merge weirdness

This commit is contained in:
Matthew Fosse 2024-08-27 13:13:23 -04:00
parent dfea890c9e
commit a735b0bd6a
2 changed files with 11 additions and 11 deletions

View file

@ -1341,6 +1341,8 @@ abstract class ElectrumWalletBase
try { try {
unspents = await electrumClient.getListUnspent(address.getScriptHash(network)); unspents = await electrumClient.getListUnspent(address.getScriptHash(network));
} catch (e, s) { } catch (e, s) {
print(e);
print(s);
return []; return [];
} }

View file

@ -81,7 +81,6 @@ class ConnectionSyncPage extends BasePage {
} }
}); });
}), }),
],
Observer(builder: (context) { Observer(builder: (context) {
return SettingsSwitcherCell( return SettingsSwitcherCell(
title: S.current.sync_all_wallets, title: S.current.sync_all_wallets,
@ -90,7 +89,7 @@ class ConnectionSyncPage extends BasePage {
); );
}), }),
], ],
// ], ],
SettingsCellWithArrow( SettingsCellWithArrow(
title: S.current.manage_nodes, title: S.current.manage_nodes,
handler: (context) => Navigator.of(context).pushNamed(Routes.manageNodes), handler: (context) => Navigator.of(context).pushNamed(Routes.manageNodes),
@ -110,8 +109,7 @@ class ConnectionSyncPage extends BasePage {
}, },
), ),
if (isWalletConnectCompatibleChain(dashboardViewModel.wallet.type) && if (isWalletConnectCompatibleChain(dashboardViewModel.wallet.type) &&
!dashboardViewModel.wallet.isHardwareWallet) ...[ !dashboardViewModel.wallet.isHardwareWallet) ...[ // ToDo: Remove this line once WalletConnect is implemented
// ToDo: Remove this line once WalletConnect is implemented
WalletConnectTile( WalletConnectTile(
onTap: () => Navigator.of(context).pushNamed(Routes.walletConnectConnectionsListing), onTap: () => Navigator.of(context).pushNamed(Routes.walletConnectConnectionsListing),
), ),