라이브 메인 - 애니메이션 제거

This commit is contained in:
Yu Sung 2023-12-22 01:49:30 +09:00
parent 89c552a341
commit 0de3cf55a7
1 changed files with 6 additions and 0 deletions

View File

@ -29,6 +29,7 @@ struct LiveView: View {
if viewModel.recommendLiveItems.count > 0 { if viewModel.recommendLiveItems.count > 0 {
SectionRecommendLiveView(items: viewModel.recommendLiveItems) SectionRecommendLiveView(items: viewModel.recommendLiveItems)
.padding(.top, 13.3) .padding(.top, 13.3)
.animation(nil)
} }
if viewModel.recommendChannelItems.count > 0 { if viewModel.recommendChannelItems.count > 0 {
@ -38,6 +39,7 @@ struct LiveView: View {
viewModel.recommendChannelItems, viewModel.recommendChannelItems,
isFollowingList: $viewModel.isFollowingList isFollowingList: $viewModel.isFollowingList
) )
.animation(nil)
} }
SectionLiveNowView( SectionLiveNowView(
@ -49,6 +51,7 @@ struct LiveView: View {
AppState.shared.setAppStep(step: .createLive(timeSettingMode: .NOW, onSuccess: onCreateSuccess)) AppState.shared.setAppStep(step: .createLive(timeSettingMode: .NOW, onSuccess: onCreateSuccess))
} }
) )
.animation(nil)
if viewModel.eventBannerItems.count > 0 { if viewModel.eventBannerItems.count > 0 {
SectionEventBannerView(items: viewModel.eventBannerItems) SectionEventBannerView(items: viewModel.eventBannerItems)
@ -57,10 +60,12 @@ struct LiveView: View {
height: viewModel.eventBannerItems.count > 0 ? screenSize().width * 300 / 1000 : 0, height: viewModel.eventBannerItems.count > 0 ? screenSize().width * 300 / 1000 : 0,
alignment: .center alignment: .center
) )
.animation(nil)
} }
if viewModel.communityPostItems.count > 0 { if viewModel.communityPostItems.count > 0 {
SectionCommunityPostView(items: viewModel.communityPostItems) SectionCommunityPostView(items: viewModel.communityPostItems)
.animation(nil)
} }
SectionLiveReservationView( SectionLiveReservationView(
@ -74,6 +79,7 @@ struct LiveView: View {
AppState.shared.setAppStep(step: .createLive(timeSettingMode: .RESERVATION, onSuccess: onCreateSuccess)) AppState.shared.setAppStep(step: .createLive(timeSettingMode: .RESERVATION, onSuccess: onCreateSuccess))
} }
) )
.animation(nil)
} }
} }
.frame(width: geo.size.width, height: geo.size.height) .frame(width: geo.size.width, height: geo.size.height)