timetable absence fix

This commit is contained in:
Kima 2024-02-08 20:10:06 +01:00
parent 67dbe64683
commit ea44f74cc4

View File

@ -101,8 +101,6 @@ class LessonTile extends StatelessWidget {
// String room = ''; // String room = '';
final cleanDesc = lesson.description final cleanDesc = lesson.description
.specialChars()
.toLowerCase()
.replaceAll(lesson.subject.name.specialChars().toLowerCase(), ''); .replaceAll(lesson.subject.name.specialChars().toLowerCase(), '');
// if (!swapDesc) { // if (!swapDesc) {
@ -421,7 +419,7 @@ class LessonSubtile extends StatelessWidget {
onTap: onPressed, onTap: onPressed,
borderRadius: BorderRadius.circular(8.0), borderRadius: BorderRadius.circular(8.0),
child: Padding( child: Padding(
padding: const EdgeInsets.symmetric(vertical: 4.0), padding: const EdgeInsets.only(top: 4.0),
child: Row( child: Row(
children: [ children: [
Center( Center(
@ -433,7 +431,7 @@ class LessonSubtile extends StatelessWidget {
), ),
Expanded( Expanded(
child: Padding( child: Padding(
padding: const EdgeInsets.only(left: 20.0), padding: const EdgeInsets.only(left: 10.0, top: 2.0),
child: Text( child: Text(
title.escapeHtml(), title.escapeHtml(),
maxLines: 1, maxLines: 1,