style(ad): 네이티브 광고 라운드 제거
This commit is contained in:
@@ -111,7 +111,7 @@ class _NativeAdPlaceholderState extends State<NativeAdPlaceholder> {
|
|||||||
return NativeTemplateStyle(
|
return NativeTemplateStyle(
|
||||||
templateType: TemplateType.medium,
|
templateType: TemplateType.medium,
|
||||||
mainBackgroundColor: isDark ? AppColors.darkSurface : Colors.white,
|
mainBackgroundColor: isDark ? AppColors.darkSurface : Colors.white,
|
||||||
cornerRadius: 12,
|
cornerRadius: 0,
|
||||||
callToActionTextStyle: NativeTemplateTextStyle(
|
callToActionTextStyle: NativeTemplateTextStyle(
|
||||||
textColor: Colors.white,
|
textColor: Colors.white,
|
||||||
backgroundColor: AppColors.lightPrimary,
|
backgroundColor: AppColors.lightPrimary,
|
||||||
@@ -152,10 +152,7 @@ class _NativeAdPlaceholderState extends State<NativeAdPlaceholder> {
|
|||||||
height: containerHeight,
|
height: containerHeight,
|
||||||
width: double.infinity,
|
width: double.infinity,
|
||||||
decoration: _decoration(isDark),
|
decoration: _decoration(isDark),
|
||||||
child: ClipRRect(
|
child: AdWidget(ad: _nativeAd!),
|
||||||
borderRadius: BorderRadius.circular(10),
|
|
||||||
child: AdWidget(ad: _nativeAd!),
|
|
||||||
),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -187,7 +184,6 @@ class _NativeAdPlaceholderState extends State<NativeAdPlaceholder> {
|
|||||||
BoxDecoration _decoration(bool isDark) {
|
BoxDecoration _decoration(bool isDark) {
|
||||||
return BoxDecoration(
|
return BoxDecoration(
|
||||||
color: isDark ? AppColors.darkSurface : Colors.white,
|
color: isDark ? AppColors.darkSurface : Colors.white,
|
||||||
borderRadius: BorderRadius.circular(12),
|
|
||||||
border: Border.all(
|
border: Border.all(
|
||||||
color: isDark ? AppColors.darkDivider : AppColors.lightDivider,
|
color: isDark ? AppColors.darkDivider : AppColors.lightDivider,
|
||||||
width: 2,
|
width: 2,
|
||||||
|
|||||||
Reference in New Issue
Block a user