minor fixes [skip ci]

This commit is contained in:
OmarHatem
2025-11-17 18:59:56 +01:00
parent e7d21b8902
commit 954ac34c5b
2 changed files with 4 additions and 3 deletions
@@ -111,9 +111,9 @@ class BackgroundSyncPage extends BasePage {
return SettingsSwitcherCell(
title: S.current.new_transactions_notifications,
value: dashboardViewModel.backgroundSyncNotificationsEnabled,
onValueChange: (_, bool value) {
onValueChange: (_, bool value) async {
try {
dashboardViewModel.setBackgroundSyncNotificationsEnabled(value);
await dashboardViewModel.setBackgroundSyncNotificationsEnabled(value);
} catch (e) {
showPopUp(
context: context,