fix visual bug on grades page

This commit is contained in:
Kima 2024-01-25 19:37:18 +01:00
parent 3b78711478
commit c55f4058c7

View File

@ -169,6 +169,11 @@ 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: Theme(
data: Theme.of(context).copyWith(
highlightColor: Colors.transparent,
splashColor: Colors.transparent,
),
child: GradeSubjectTile( child: GradeSubjectTile(
subject, subject,
averageBefore: averageBefore, averageBefore: averageBefore,
@ -181,6 +186,7 @@ class GradesPageState extends State<GradesPage> {
), ),
), ),
), ),
),
if (hasUnder) if (hasUnder)
const SizedBox( const SizedBox(
height: 6.0, height: 6.0,