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 fd80ad6 commit 8594d4fCopy full SHA for 8594d4f
lib/entity_details/view/entity_details_page.dart
@@ -382,12 +382,22 @@ class _EntityDetailsViewState extends State<EntityDetailsView> {
382
}
383
return tile;
384
} else if (item is AdPlaceholder) {
385
+ // Retrieve the user's preferred headline image style from the AppBloc.
386
+ // This is the single source of truth for this setting.
387
+ final imageStyle = context
388
+ .watch<AppBloc>()
389
+ .state
390
+ .settings
391
+ .feedPreferences
392
+ .headlineImageStyle;
393
+
394
return AdLoaderWidget(
395
adPlaceholder: item,
396
adService: context.read<AdService>(),
397
adThemeStyle: AdThemeStyle.fromTheme(
398
Theme.of(context),
399
),
400
+ imageStyle: imageStyle,
401
);
402
403
return const SizedBox.shrink();
0 commit comments