메인
- 오디션 탭 추가
This commit is contained in:
@@ -21,7 +21,7 @@ struct HomeView: View {
|
||||
@StateObject var contentPlayerPlayManager = ContentPlayerPlayManager.shared
|
||||
|
||||
private let liveView = LiveView()
|
||||
private let explorer = ExplorerView()
|
||||
private let audition = AuditionView()
|
||||
private let messageView = MessageView()
|
||||
private let contentView = ContentMainView()
|
||||
|
||||
@@ -40,9 +40,9 @@ struct HomeView: View {
|
||||
.frame(width: viewModel.currentTab == .live ? proxy.size.width : 0)
|
||||
.opacity(viewModel.currentTab == .live ? 1.0 : 0.01)
|
||||
|
||||
explorer
|
||||
.frame(width: viewModel.currentTab == .explorer ? proxy.size.width : 0)
|
||||
.opacity(viewModel.currentTab == .explorer ? 1.0 : 0.01)
|
||||
audition
|
||||
.frame(width: viewModel.currentTab == .audition ? proxy.size.width : 0)
|
||||
.opacity(viewModel.currentTab == .audition ? 1.0 : 0.01)
|
||||
|
||||
messageView
|
||||
.frame(width: viewModel.currentTab == .message ? proxy.size.width : 0)
|
||||
|
||||
Reference in New Issue
Block a user