File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ import 'package:ht_main/app/bloc/app_bloc.dart';
44import 'package:ht_main/l10n/app_localizations.dart' ;
55import 'package:ht_main/l10n/l10n.dart' ;
66import 'package:ht_main/settings/bloc/settings_bloc.dart' ;
7- import 'package:ht_main/shared/constants/constants.dart' ;
87import 'package:ht_shared/ht_shared.dart' show HeadlineImageStyle;
8+ import 'package:ht_ui_kit/ht_ui_kit.dart' ;
99
1010/// {@template feed_settings_page}
1111/// A page for configuring feed display settings.
@@ -28,7 +28,7 @@ class FeedSettingsPage extends StatelessWidget {
2828
2929 @override
3030 Widget build (BuildContext context) {
31- final l10n = context.l10n;
31+ final l10n = AppLocalizationsX ( context) .l10n;
3232 final settingsBloc = context.watch <SettingsBloc >();
3333 final state = settingsBloc.state;
3434
@@ -61,7 +61,7 @@ class FeedSettingsPage extends StatelessWidget {
6161 itemToString: (style) => _imageStyleToString (style, l10n),
6262 onChanged: (value) {
6363 if (value != null ) {
64- settingsBloc.add (SettingsFeedTileTypeChanged (value));
64+ settingsBloc.add (SettingsHeadlineImageStyleChanged (value));
6565 }
6666 },
6767 ),
You can’t perform that action at this time.
0 commit comments