mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-23 06:38:35 +02:00
Use view model variable hasRescan instead [skip ci]
This commit is contained in:
@@ -36,8 +36,7 @@ class ConnectionSyncPage extends BasePage {
|
||||
handler: (context) => _presentReconnectAlert(context),
|
||||
),
|
||||
StandardListSeparator(padding: EdgeInsets.symmetric(horizontal: 24)),
|
||||
if (dashboardViewModel.type != WalletType.bitcoin &&
|
||||
dashboardViewModel.type != WalletType.litecoin)
|
||||
if (dashboardViewModel.hasRescan)
|
||||
SettingsCellWithArrow(
|
||||
title: S.current.rescan,
|
||||
handler: (context) => Navigator.of(context).pushNamed(Routes.rescan),
|
||||
|
||||
Reference in New Issue
Block a user