Skip to content
Snippets Groups Projects
Commit b02dd74d authored by doodlezucc's avatar doodlezucc
Browse files

use smaller font size in time table

parent c18985e8
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,6 @@ class LessonWidget extends StatelessWidget { ...@@ -22,7 +22,6 @@ class LessonWidget extends StatelessWidget {
String get text => [ String get text => [
lesson.lecture.name, lesson.lecture.name,
lesson.rooms.firstOrNull?.name ?? '(Kein Raum)', lesson.rooms.firstOrNull?.name ?? '(Kein Raum)',
lesson.teachers.first.name,
].join('\n'); ].join('\n');
const LessonWidget({ const LessonWidget({
...@@ -66,9 +65,7 @@ class LessonWidget extends StatelessWidget { ...@@ -66,9 +65,7 @@ class LessonWidget extends StatelessWidget {
child: Text( child: Text(
text, text,
textAlign: TextAlign.center, textAlign: TextAlign.center,
style: TextStyle( style: Theme.of(context).primaryTextTheme.bodySmall!,
color: Theme.of(context).colorScheme.onPrimary,
),
), ),
), ),
), ),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment