라이브, 콘텐츠 메인 홈
- 크리에이터의 경우 라이브 만들기 / 콘텐츠 업로드 버튼이 바로 보이도록 수정
This commit is contained in:
		@@ -13,6 +13,7 @@ struct LiveView: View {
 | 
			
		||||
    @StateObject var viewModel = LiveViewModel()
 | 
			
		||||
    @StateObject var appState = AppState.shared
 | 
			
		||||
    @AppStorage("token") private var token: String = UserDefaults.string(forKey: UserDefaultsKey.token)
 | 
			
		||||
    @AppStorage("role") private var role: String = UserDefaults.string(forKey: UserDefaultsKey.role)
 | 
			
		||||
    
 | 
			
		||||
    var body: some View {
 | 
			
		||||
        ZStack {
 | 
			
		||||
@@ -124,7 +125,7 @@ struct LiveView: View {
 | 
			
		||||
                        viewModel.getSummary()
 | 
			
		||||
                    }
 | 
			
		||||
                    
 | 
			
		||||
                    if !appState.isShowPlayer && UserDefaults.string(forKey: .role) == MemberRole.CREATOR.rawValue {
 | 
			
		||||
                    if !appState.isShowPlayer && role == MemberRole.CREATOR.rawValue {
 | 
			
		||||
                        Image("btn_make_live")
 | 
			
		||||
                            .padding(.trailing, 16)
 | 
			
		||||
                            .padding(.bottom, 16)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user