forked from firka/student-legacy
accidentally didn't include categories in settings
This commit is contained in:
parent
b8e4c4ea3a
commit
dfd3f42550
@ -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());
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user