Skip to content

Commit 1bd2dcb

Browse files
committed
fix(headlines-feed): mark AppUserFeedDecorator as completed when shown
- Add isCompleted: true flag to AppUserFeedDecoratorShown event - This ensures that the feed decorator is marked as completed when it is shown to the user
1 parent 413c903 commit 1bd2dcb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/headlines-feed/bloc/headlines_feed_bloc.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@ class HeadlinesFeedBloc extends Bloc<HeadlinesFeedEvent, HeadlinesFeedState> {
374374
AppUserFeedDecoratorShown(
375375
userId: currentUser.id,
376376
feedDecoratorType: event.feedDecoratorType,
377+
isCompleted: true,
377378
),
378379
);
379380
// Remove the dismissed decorator from the current feedItems list to

0 commit comments

Comments
 (0)