From 74639e2b03182bf4c294f1b8774250a01aa5c9ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kuba=20Szczodrzy=C5=84ski?= Date: Wed, 2 Oct 2019 17:59:54 +0200 Subject: [PATCH] [Settings] Save profile after teacher absences setting change --- .../edziennik/ui/modules/settings/SettingsNewFragment.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/pl/szczodrzynski/edziennik/ui/modules/settings/SettingsNewFragment.java b/app/src/main/java/pl/szczodrzynski/edziennik/ui/modules/settings/SettingsNewFragment.java index 22bc2f17..932e89eb 100644 --- a/app/src/main/java/pl/szczodrzynski/edziennik/ui/modules/settings/SettingsNewFragment.java +++ b/app/src/main/java/pl/szczodrzynski/edziennik/ui/modules/settings/SettingsNewFragment.java @@ -1071,6 +1071,7 @@ public class SettingsNewFragment extends MaterialAboutFragment { .setChecked(app.profile.getStudentData("showTeacherAbsences", true)) .setOnChangeAction((isChecked, tag) -> { app.profile.putStudentData("showTeacherAbsences", isChecked); + app.profileSaveAsync(); return true; }) );