diff --git a/lib/widgets/homepage_post.dart b/lib/widgets/homepage_post.dart index 3ab615e..fcf1e05 100644 --- a/lib/widgets/homepage_post.dart +++ b/lib/widgets/homepage_post.dart @@ -34,14 +34,19 @@ class HomepagePost extends StatelessWidget { crossAxisAlignment: CrossAxisAlignment.start, children: [ Text(post.title, style: Theme.of(context).textTheme.titleMedium, overflow: TextOverflow.ellipsis), - Row( - children: [ - post.author.isNotEmpty - ? Text(post.author) - : const Text('Unknown author', style: TextStyle(fontStyle: FontStyle.italic)), - const Text(' \u2022 '), - Text(formatDate(post.createdOnTime)), - ], + ClipRRect( + clipBehavior: Clip.antiAlias, + child: Row( + children: [ + Text('${post.api.cache.feeds.get(post.feedId)?.title}'), + const Text(' \u2022 '), + post.author.isNotEmpty + ? Text(post.author) + : const Text('Unknown author', style: TextStyle(fontStyle: FontStyle.italic)), + const Text(' \u2022 '), + Text(formatDate(post.createdOnTime)), + ], + ), ), ], ),