fix(ad): 화면별 네이티브 광고 높이 조정
This commit is contained in:
@@ -167,7 +167,7 @@ class _RestaurantListScreenState extends ConsumerState<RestaurantListScreen> {
|
|||||||
horizontal: 16,
|
horizontal: 16,
|
||||||
vertical: 8,
|
vertical: 8,
|
||||||
),
|
),
|
||||||
height: 200, // 카드 높이와 비슷한 중간 사이즈
|
height: 100, // 작은 템플릿으로 노출
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -162,7 +162,7 @@ class _ShareScreenState extends ConsumerState<ShareScreen> {
|
|||||||
),
|
),
|
||||||
const SizedBox(height: 16),
|
const SizedBox(height: 16),
|
||||||
NativeAdPlaceholder(
|
NativeAdPlaceholder(
|
||||||
height: 220,
|
height: 360,
|
||||||
enabled: !screenshotModeEnabled,
|
enabled: !screenshotModeEnabled,
|
||||||
),
|
),
|
||||||
const SizedBox(height: 16),
|
const SizedBox(height: 16),
|
||||||
|
|||||||
@@ -239,7 +239,7 @@ class _NativeAdPlaceholderState extends State<NativeAdPlaceholder> {
|
|||||||
|
|
||||||
double _templateMinHeight(TemplateType type) {
|
double _templateMinHeight(TemplateType type) {
|
||||||
if (type == TemplateType.small) {
|
if (type == TemplateType.small) {
|
||||||
return 120;
|
return 100;
|
||||||
}
|
}
|
||||||
return switch (defaultTargetPlatform) {
|
return switch (defaultTargetPlatform) {
|
||||||
TargetPlatform.iOS => 402.0,
|
TargetPlatform.iOS => 402.0,
|
||||||
|
|||||||
Reference in New Issue
Block a user