mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-16 17:27:37 +00:00
remove unecessary changes and merge weirdness
This commit is contained in:
parent
dfea890c9e
commit
a735b0bd6a
2 changed files with 11 additions and 11 deletions
|
@ -1341,6 +1341,8 @@ abstract class ElectrumWalletBase
|
|||
try {
|
||||
unspents = await electrumClient.getListUnspent(address.getScriptHash(network));
|
||||
} catch (e, s) {
|
||||
print(e);
|
||||
print(s);
|
||||
return [];
|
||||
}
|
||||
|
||||
|
|
|
@ -81,16 +81,15 @@ class ConnectionSyncPage extends BasePage {
|
|||
}
|
||||
});
|
||||
}),
|
||||
Observer(builder: (context) {
|
||||
return SettingsSwitcherCell(
|
||||
title: S.current.sync_all_wallets,
|
||||
value: dashboardViewModel.syncAll,
|
||||
onValueChange: (_, bool value) => dashboardViewModel.setSyncAll(value),
|
||||
);
|
||||
}),
|
||||
],
|
||||
Observer(builder: (context) {
|
||||
return SettingsSwitcherCell(
|
||||
title: S.current.sync_all_wallets,
|
||||
value: dashboardViewModel.syncAll,
|
||||
onValueChange: (_, bool value) => dashboardViewModel.setSyncAll(value),
|
||||
);
|
||||
}),
|
||||
],
|
||||
// ],
|
||||
SettingsCellWithArrow(
|
||||
title: S.current.manage_nodes,
|
||||
handler: (context) => Navigator.of(context).pushNamed(Routes.manageNodes),
|
||||
|
@ -110,8 +109,7 @@ class ConnectionSyncPage extends BasePage {
|
|||
},
|
||||
),
|
||||
if (isWalletConnectCompatibleChain(dashboardViewModel.wallet.type) &&
|
||||
!dashboardViewModel.wallet.isHardwareWallet) ...[
|
||||
// ToDo: Remove this line once WalletConnect is implemented
|
||||
!dashboardViewModel.wallet.isHardwareWallet) ...[ // ToDo: Remove this line once WalletConnect is implemented
|
||||
WalletConnectTile(
|
||||
onTap: () => Navigator.of(context).pushNamed(Routes.walletConnectConnectionsListing),
|
||||
),
|
||||
|
@ -143,4 +141,4 @@ class ConnectionSyncPage extends BasePage {
|
|||
},
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue