forked from firka/student-legacy
fix goodstudent
This commit is contained in:
parent
38eb8c440b
commit
818060bbcb
@ -129,6 +129,7 @@ class GradeValueWidget extends StatelessWidget {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
|
GradeValue value = Provider.of<SettingsProvider>(context).goodStudent ? GradeValue(5, "Példás", "Példás", this.value.weight) : this.value;
|
||||||
bool isSubjectView = SubjectGradesContainer.of(context) != null;
|
bool isSubjectView = SubjectGradesContainer.of(context) != null;
|
||||||
|
|
||||||
Color color = gradeColor(context: context, value: value.value);
|
Color color = gradeColor(context: context, value: value.value);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user