diff --git a/packages/neon/neon_news/lib/widgets/feeds_view.dart b/packages/neon/neon_news/lib/widgets/feeds_view.dart index 3ea45c39..4717f0b7 100644 --- a/packages/neon/neon_news/lib/widgets/feeds_view.dart +++ b/packages/neon/neon_news/lib/widgets/feeds_view.dart @@ -51,7 +51,9 @@ class NewsFeedsView extends StatelessWidget { ? Theme.of(context).textTheme.titleMedium!.copyWith(color: Theme.of(context).disabledColor) : null, ), - subtitle: feed.unreadCount! > 0 ? Text(AppLocalizations.of(context).articlesUnread(feed.unreadCount!)) : null, + subtitle: feed.unreadCount! > 0 + ? Text(AppLocalizations.of(context).articlesUnread(feed.unreadCount!)) + : const SizedBox(), leading: NewsFeedIcon( feed: feed, borderRadius: const BorderRadius.all(Radius.circular(8)), diff --git a/packages/neon/neon_news/lib/widgets/folders_view.dart b/packages/neon/neon_news/lib/widgets/folders_view.dart index 6e90ba8e..2a9305dc 100644 --- a/packages/neon/neon_news/lib/widgets/folders_view.dart +++ b/packages/neon/neon_news/lib/widgets/folders_view.dart @@ -51,11 +51,7 @@ class NewsFoldersView extends StatelessWidget { ? Theme.of(context).textTheme.titleMedium!.copyWith(color: Theme.of(context).disabledColor) : null, ), - subtitle: unreadCount > 0 - ? Text( - AppLocalizations.of(context).articlesUnread(unreadCount), - ) - : null, + subtitle: unreadCount > 0 ? Text(AppLocalizations.of(context).articlesUnread(unreadCount)) : const SizedBox(), leading: SizedBox.square( dimension: 48, child: Stack(