feat: restrict history api calls when toggle is off in privacy settings (#3615)

* feat: restrict history api calls when toggle is off in privacy settings

* refactor: remove unnecessary transaction timer cancellation
This commit is contained in:
David Adegoke
2026-09-16 23:05:40 +02:00
committed by GitHub
parent 5ed6759edc
commit 3a04c7ff1e
6 changed files with 36 additions and 10 deletions
@@ -89,7 +89,7 @@ class ConnectionSyncPage extends BasePage {
ListItemToggle(
keyValue: "can_use_basescan",
label: S.of(context).basescan_history,
value: _connectionSyncViewModel.canUseBaseScan,
value: _connectionSyncViewModel.useBaseScan,
onChanged: (val) {
_connectionSyncViewModel.setUseBaseScan(val);
}),