Skip to content

Commit 2325e42

Browse files
committed
refactor(router): remove duplicate headlines feed fetch request
- Remove the redundant addition of HeadlinesFeedFetchRequested event - This change simplifies the router configuration and improves code maintainability
1 parent 881b101 commit 2325e42

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/router/router.dart

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -372,10 +372,6 @@ GoRouter createRouter({
372372
.read<DataRepository<UserContentPreferences>>(),
373373
feedDecoratorService: feedDecoratorService,
374374
appBloc: context.read<AppBloc>(),
375-
)..add(
376-
HeadlinesFeedFetchRequested(
377-
adThemeStyle: AdThemeStyle.fromTheme(Theme.of(context)),
378-
),
379375
);
380376
},
381377
),

0 commit comments

Comments
 (0)