forked from github/szkolny
[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…
x
Reference in New Issue
Block a user