CW-227 Add Disable Exchange option to settings (#642)

* Add Disable Exchange option to settings
This commit is contained in:
Omar Hatem
2022-11-21 21:18:18 -05:00
committed by GitHub
parent bcf09b048c
commit 9b32c9c956
20 changed files with 50 additions and 20 deletions
@@ -315,6 +315,8 @@ class DashboardPage extends BasePage {
}
Future<void> _onClickExchangeButton(BuildContext context) async {
await Navigator.of(context).pushNamed(Routes.exchange);
if (walletViewModel.isEnabledExchangeAction) {
await Navigator.of(context).pushNamed(Routes.exchange);
}
}
}