From dfd3f42550f9abe46f50beace8122fa00e6f6967 Mon Sep 17 00:00:00 2001 From: hihihaha <71922530+Monke14@users.noreply.github.com> Date: Sun, 10 Mar 2024 17:56:43 +0100 Subject: [PATCH] accidentally didn't include categories in settings --- .../lib/screens/settings/notifications_screen.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/refilc_mobile_ui/lib/screens/settings/notifications_screen.dart b/refilc_mobile_ui/lib/screens/settings/notifications_screen.dart index b3cdbe2..5aeae16 100644 --- a/refilc_mobile_ui/lib/screens/settings/notifications_screen.dart +++ b/refilc_mobile_ui/lib/screens/settings/notifications_screen.dart @@ -98,7 +98,7 @@ class NotificationsScreen extends StatelessWidget { padding: const EdgeInsets.only(left: 14.0, right: 6.0), onPressed: () { settings.update( - notificationsEnabled: + notificationsGradesEnabled: !settings.notificationsGradesEnabled); setAll(context, DateTime.now()); }, @@ -137,7 +137,7 @@ class NotificationsScreen extends StatelessWidget { padding: const EdgeInsets.only(left: 14.0, right: 6.0), onPressed: () { settings.update( - notificationsEnabled: + notificationsAbsencesEnabled: !settings.notificationsAbsencesEnabled); setAll(context, DateTime.now()); }, @@ -176,7 +176,7 @@ class NotificationsScreen extends StatelessWidget { padding: const EdgeInsets.only(left: 14.0, right: 6.0), onPressed: () { settings.update( - notificationsEnabled: + notificationsMessagesEnabled: !settings.notificationsMessagesEnabled); setAll(context, DateTime.now()); }, @@ -215,7 +215,7 @@ class NotificationsScreen extends StatelessWidget { padding: const EdgeInsets.only(left: 14.0, right: 6.0), onPressed: () { settings.update( - notificationsEnabled: + notificationsLessonsEnabled: !settings.notificationsLessonsEnabled); setAll(context, DateTime.now()); },