We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c5d289 commit fd80ad6Copy full SHA for fd80ad6
lib/headlines-feed/view/headlines_feed_page.dart
@@ -319,10 +319,19 @@ class _HeadlinesFeedPageState extends State<HeadlinesFeedPage> {
319
}
320
return tile;
321
} else if (item is AdPlaceholder) {
322
+ // Retrieve the user's preferred headline image style from the AppBloc.
323
+ // This is the single source of truth for this setting.
324
+ final imageStyle = context
325
+ .watch<AppBloc>()
326
+ .state
327
+ .settings
328
+ .feedPreferences
329
+ .headlineImageStyle;
330
return AdLoaderWidget(
331
adPlaceholder: item,
332
adService: context.read<AdService>(),
333
adThemeStyle: AdThemeStyle.fromTheme(Theme.of(context)),
334
+ imageStyle: imageStyle,
335
);
336
} else if (item is CallToActionItem) {
337
return CallToActionDecoratorWidget(
0 commit comments