forked from firka/student-legacy
fix visual bug on grades page
This commit is contained in:
parent
3b78711478
commit
c55f4058c7
@ -169,15 +169,21 @@ class GradesPageState extends State<GradesPage> {
|
|||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.symmetric(
|
padding: const EdgeInsets.symmetric(
|
||||||
vertical: 8.0, horizontal: 6.0),
|
vertical: 8.0, horizontal: 6.0),
|
||||||
child: GradeSubjectTile(
|
child: Theme(
|
||||||
subject,
|
data: Theme.of(context).copyWith(
|
||||||
averageBefore: averageBefore,
|
highlightColor: Colors.transparent,
|
||||||
average: avg,
|
splashColor: Colors.transparent,
|
||||||
groupAverage: avgDropValue == 0 ? groupAverage : 0.0,
|
),
|
||||||
onTap: () {
|
child: GradeSubjectTile(
|
||||||
GradeSubjectView(subject, groupAverage: groupAverage)
|
subject,
|
||||||
.push(context, root: true);
|
averageBefore: averageBefore,
|
||||||
},
|
average: avg,
|
||||||
|
groupAverage: avgDropValue == 0 ? groupAverage : 0.0,
|
||||||
|
onTap: () {
|
||||||
|
GradeSubjectView(subject, groupAverage: groupAverage)
|
||||||
|
.push(context, root: true);
|
||||||
|
},
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user