Skip to content

Commit b3731fe

Browse files
committed
fix(ads): pass user role when creating a native ad
- Add 'userRole' parameter to the '_createNativeAd' function call - This ensures that the user's role is considered when loading ads
1 parent e89e3cc commit b3731fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/ads/widgets/feed_ad_loader_widget.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ class _FeedAdLoaderWidgetState extends State<FeedAdLoaderWidget> {
216216
adType: widget.adPlaceholder.adType,
217217
adThemeStyle: widget.adThemeStyle,
218218
headlineImageStyle: headlineImageStyle,
219+
userRole: userRole,
219220
);
220221

221222
if (loadedAd != null) {

0 commit comments

Comments
 (0)