Skip to content

Commit 87f3fb9

Browse files
committed
feat(headlines): display source name
- Show source name instead of ID
1 parent 839b903 commit 87f3fb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/headlines-feed/widgets/headline_item_widget.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ class HeadlineItemWidget extends StatelessWidget {
122122
if (headline.source != null)
123123
_MetadataItem(
124124
icon: Icons.source_outlined,
125-
text: headline.source!,
125+
text: headline.source!.name, // Use source.name
126126
),
127127
if (headline.publishedAt != null)
128128
_MetadataItem(

0 commit comments

Comments
 (0)