diff --git a/app/lib/homework/shared/homework_tile_template.dart b/app/lib/homework/shared/homework_tile_template.dart index 1ae2b2081..37485eb87 100644 --- a/app/lib/homework/shared/homework_tile_template.dart +++ b/app/lib/homework/shared/homework_tile_template.dart @@ -47,20 +47,13 @@ class HomeworkTileTemplate extends StatelessWidget { title, overflow: TextOverflow.ellipsis, maxLines: 2, - style: Theme.of(context) - .textTheme - .bodyLarge! - .apply(fontSizeFactor: 1.1), + style: Theme.of(context).textTheme.bodyLarge!, ), - subtitle: Padding( - padding: const EdgeInsets.only(bottom: 6), - child: Text.rich( - TextSpan(children: [ - TextSpan(text: "$courseName\n"), - TextSpan( - text: todoDate, style: TextStyle(color: todoDateColor)), - ], style: TextStyle(color: Colors.grey[600])), - ), + subtitle: Text.rich( + TextSpan(children: [ + TextSpan(text: "$courseName\n"), + TextSpan(text: todoDate, style: TextStyle(color: todoDateColor)), + ], style: TextStyle(color: Colors.grey[600])), ), leading: CircleAvatar( backgroundColor: courseColor.withOpacity(0.2),