Skip to content

Commit 9474d04

Browse files
committed
fix(content_management): replace localization with static text for country load more option
- Replaced l10n.loadMore with 'Load More' text - Added const keyword for Center and Text widgets
1 parent 5628a41 commit 9474d04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/content_management/view/create_headline_page.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,8 @@ class _CreateHeadlineViewState extends State<_CreateHeadlineView> {
247247
if (state.countriesHasMore)
248248
DropdownMenuItem(
249249
value: null,
250-
child: Center(
251-
child: Text(l10n.loadMore),
250+
child: const Center(
251+
child: Text('Load More'),
252252
),
253253
onTap: () => context.read<CreateHeadlineBloc>().add(
254254
const CreateHeadlineLoadMoreCountriesRequested(),

0 commit comments

Comments
 (0)