콘텐츠 메인 - 배너 광고 위치 수정
This commit is contained in:
		| @@ -19,7 +19,7 @@ struct ContentMainCurationView: View { | ||||
|                 ContentMainCurationItemView(item: item) | ||||
|                     .padding(.horizontal, 13.3) | ||||
|                  | ||||
|                 if $0 % 2 != 0 { | ||||
|                 if $0 % 3 == 2 { | ||||
|                     BannerAdView(adUnitId: CURATION_BANNER_AD_UNIT_ID) | ||||
|                         .frame( | ||||
|                             width: screenSize().width, | ||||
|   | ||||
| @@ -42,13 +42,6 @@ struct ContentMainView: View { | ||||
|                             .padding(.horizontal, 13.3) | ||||
|                     } | ||||
|                      | ||||
|                     BannerAdView(adUnitId: CURATION_BANNER_AD_UNIT_ID) | ||||
|                         .frame( | ||||
|                             width: screenSize().width, | ||||
|                             height: GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(screenSize().width).size.height | ||||
|                         ) | ||||
|                         .padding(.bottom, 40) | ||||
|                      | ||||
|                     if viewModel.orderList.count > 0 { | ||||
|                         ContentMainMyStashView(items: viewModel.orderList) | ||||
|                             .padding(.bottom, 40) | ||||
| @@ -63,6 +56,13 @@ struct ContentMainView: View { | ||||
|                     ) | ||||
|                     .padding(.horizontal, 13.3) | ||||
|                      | ||||
|                     BannerAdView(adUnitId: CURATION_BANNER_AD_UNIT_ID) | ||||
|                         .frame( | ||||
|                             width: screenSize().width, | ||||
|                             height: GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(screenSize().width).size.height | ||||
|                         ) | ||||
|                         .padding(.top, 30) | ||||
|                      | ||||
|                     if viewModel.curationList.count > 0 { | ||||
|                         ContentMainCurationView(items: viewModel.curationList) | ||||
|                             .padding(.top, 40) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Yu Sung
					Yu Sung