Skip to content

Commit 643aa38

Browse files
committed
chore(fictures): mark important headline as breaking news
- Update headline with ID kHeadlineId4 to isBreaking: true - Adjust in-app notification read status
1 parent 8a03af9 commit 643aa38

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/src/fixtures/headlines.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ final headlinesFixturesData = <Headline>[
5454
),
5555
Headline(
5656
id: kHeadlineId4,
57-
isBreaking: false,
57+
isBreaking: true,
5858
title: 'New Planet Discovered in Distant Galaxy',
5959
excerpt:
6060
'Astronomers confirm the existence of a new exoplanet, sparking excitement in the scientific community.',

lib/src/fixtures/in_app_notifications.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ List<InAppNotification> _generateAdminNotifications() {
2222
return List.generate(21, (index) {
2323
final headline = headlinesFixturesData[index % headlineIds.length];
2424
final notificationId = notificationIds[index];
25-
final isRead = index < 2;
25+
final isRead = index > 3;
2626

2727
return InAppNotification(
2828
id: notificationId,

0 commit comments

Comments
 (0)