feat: 하단 탭 아이콘 변경

This commit is contained in:
Yu Sung
2025-07-10 19:18:50 +09:00
parent da3ca96960
commit fca5425e81
27 changed files with 248 additions and 66 deletions

View File

@@ -18,7 +18,6 @@ struct HomeView: View {
@StateObject var contentPlayerPlayManager = ContentPlayerPlayManager.shared
private let liveView = LiveView()
private let audition = AuditionView()
private let contentView = ContentMainTabHomeView()
@State private var isShowPlayer = false
@@ -30,17 +29,13 @@ struct HomeView: View {
VStack(spacing: 0) {
ZStack {
contentView
.frame(width: viewModel.currentTab == .content ? proxy.size.width : 0)
.opacity(viewModel.currentTab == .content ? 1.0 : 0.01)
.frame(width: viewModel.currentTab == .home ? proxy.size.width : 0)
.opacity(viewModel.currentTab == .home ? 1.0 : 0.01)
liveView
.frame(width: viewModel.currentTab == .live ? proxy.size.width : 0)
.opacity(viewModel.currentTab == .live ? 1.0 : 0.01)
audition
.frame(width: viewModel.currentTab == .audition ? proxy.size.width : 0)
.opacity(viewModel.currentTab == .audition ? 1.0 : 0.01)
if viewModel.currentTab == .mypage {
MyPageView()
}