mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-23 06:38:35 +02:00
minor fixes [skip ci]
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user