Skip to content

Commit 5d680c4

Browse files
committed
refactor(headlines-feed): add missing annotation for pagination comment
- Add '//' to continue the comment about pagination - Improve code readability by clearly marking the section related to pagination
1 parent 8c7ad5d commit 5d680c4

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

lib/headlines-feed/bloc/headlines_feed_bloc.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ class HeadlinesFeedBloc extends Bloc<HeadlinesFeedEvent, HeadlinesFeedState> {
111111
);
112112

113113
// For pagination, only inject ad placeholders, not feed actions.
114+
//
114115
// This method injects stateless `AdPlaceholder` markers into the feed.
115116
// The full ad loading and lifecycle is managed by the UI layer.
116117
// See `FeedDecoratorService` for a detailed explanation.

lib/shared/services/feed_decorator_service.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import 'dart:math';
22

33
import 'package:core/core.dart';
44
import 'package:data_repository/data_repository.dart';
5-
import 'package:flutter_news_app_mobile_client_full_source_code/ads/ad_service.dart';
65
import 'package:flutter_news_app_mobile_client_full_source_code/ads/models/ad_placeholder.dart'; // Import the new AdPlaceholder model
76
import 'package:flutter_news_app_mobile_client_full_source_code/ads/models/ad_theme_style.dart';
87
import 'package:flutter_news_app_mobile_client_full_source_code/router/routes.dart';

0 commit comments

Comments
 (0)