From cd14aeafff1005c2ad6c3b857b18b868a876669a Mon Sep 17 00:00:00 2001 From: Simone Stasi Date: Wed, 26 Jun 2024 17:36:14 +0200 Subject: [PATCH] fix commit message text vertically cut --- lib/src/widgets/commit_list_tile.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/widgets/commit_list_tile.dart b/lib/src/widgets/commit_list_tile.dart index a94cee68..629f7fab 100644 --- a/lib/src/widgets/commit_list_tile.dart +++ b/lib/src/widgets/commit_list_tile.dart @@ -25,7 +25,7 @@ class CommitListTile extends StatelessWidget { @override Widget build(BuildContext context) { - final subtitleStyle = context.textTheme.bodySmall!.copyWith(height: 1); + final subtitleStyle = context.textTheme.bodySmall!; return InkWell( key: ValueKey('commit_${commit.commitId?.substring(0, 6)}'), onTap: onTap, @@ -36,7 +36,7 @@ class CommitListTile extends StatelessWidget { title: Text( '${commit.comment}', overflow: TextOverflow.ellipsis, - style: context.textTheme.labelLarge!.copyWith(height: 1), + style: context.textTheme.labelLarge, ), subtitle: Column( mainAxisAlignment: MainAxisAlignment.spaceBetween,