mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2024-11-24 19:04:38 -06:00
[Settings] Save profile after teacher absences setting change
This commit is contained in:
parent
a849f0e8a2
commit
74639e2b03
@ -1071,6 +1071,7 @@ public class SettingsNewFragment extends MaterialAboutFragment {
|
|||||||
.setChecked(app.profile.getStudentData("showTeacherAbsences", true))
|
.setChecked(app.profile.getStudentData("showTeacherAbsences", true))
|
||||||
.setOnChangeAction((isChecked, tag) -> {
|
.setOnChangeAction((isChecked, tag) -> {
|
||||||
app.profile.putStudentData("showTeacherAbsences", isChecked);
|
app.profile.putStudentData("showTeacherAbsences", isChecked);
|
||||||
|
app.profileSaveAsync();
|
||||||
return true;
|
return true;
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user