|
|
@ -51,7 +51,9 @@ class NewsFeedsView extends StatelessWidget { |
|
|
|
? Theme.of(context).textTheme.titleMedium!.copyWith(color: Theme.of(context).disabledColor) |
|
|
|
? Theme.of(context).textTheme.titleMedium!.copyWith(color: Theme.of(context).disabledColor) |
|
|
|
: null, |
|
|
|
: 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( |
|
|
|
leading: NewsFeedIcon( |
|
|
|
feed: feed, |
|
|
|
feed: feed, |
|
|
|
borderRadius: const BorderRadius.all(Radius.circular(8)), |
|
|
|
borderRadius: const BorderRadius.all(Radius.circular(8)), |
|
|
|