accidentally didn't include categories in settings

This commit is contained in:
hihihaha 2024-03-10 17:56:43 +01:00
parent b8e4c4ea3a
commit dfd3f42550

View File

@ -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());
},