File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
lib/app_configuration/widgets Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import 'package:flutter/material.dart';
33import 'package:flutter_news_app_web_dashboard_full_source_code/app_configuration/widgets/app_config_form_fields.dart' ;
44import 'package:flutter_news_app_web_dashboard_full_source_code/l10n/app_localizations.dart' ;
55import 'package:flutter_news_app_web_dashboard_full_source_code/l10n/l10n.dart' ;
6+ import 'package:flutter_news_app_web_dashboard_full_source_code/shared/extensions/ad_type_l10n.dart' ;
67import 'package:flutter_news_app_web_dashboard_full_source_code/shared/extensions/app_user_role_l10n.dart' ;
78import 'package:ui_kit/ui_kit.dart' ;
89
@@ -174,7 +175,7 @@ class _FeedAdSettingsFormState extends State<FeedAdSettingsForm>
174175 .map (
175176 (type) => ButtonSegment <AdType >(
176177 value: type,
177- label: Text (type.name ),
178+ label: Text (type.l10n (context) ),
178179 ),
179180 )
180181 .toList (),
You can’t perform that action at this time.
0 commit comments