Re-enable dashboard refresh actions

Uncommented calls to dashBoardController.fetchDepositAccounts() and dashBoardController.fetchExchangeRates() in the refresh icon's onTap handler so tapping the refresh button now triggers reloading of deposit accounts and exchange rates, restoring the dashboard's refresh behavior.
image_issue_sawara
Sawara Rehman 2 hours ago
parent c4869fa97e
commit 7658174896

@ -71,8 +71,8 @@ class MyHomePage extends StatelessWidget {
borderRadius: const BorderRadius.all(Radius.circular(50)),
splashColor: Colors.transparent,
onTap: () {
// dashBoardController.fetchDepositAccounts();
// dashBoardController.fetchExchangeRates();
dashBoardController.fetchDepositAccounts();
dashBoardController.fetchExchangeRates();
},
child: const Icon(
Icons.refresh_outlined,

Loading…
Cancel
Save