Skip to content

Commit 528d9d2

Browse files
committed
refactor(content_management): remove load more option for countries
- Remove DropdownMenuItem for loading more countries in create headline page - This change simplifies the country selection process and removes the need for pagination within the dropdown menu
1 parent 5103b1b commit 528d9d2

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

lib/content_management/view/create_headline_page.dart

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -244,16 +244,6 @@ class _CreateHeadlineViewState extends State<_CreateHeadlineView> {
244244
),
245245
),
246246
),
247-
if (state.countriesHasMore)
248-
DropdownMenuItem(
249-
value: null,
250-
child: const Center(
251-
child: Text('Load More'),
252-
),
253-
onTap: () => context.read<CreateHeadlineBloc>().add(
254-
const CreateHeadlineLoadMoreCountriesRequested(),
255-
),
256-
),
257247
],
258248
onChanged: (value) => context
259249
.read<CreateHeadlineBloc>()

0 commit comments

Comments
 (0)