라이브, 콘텐츠 메인 홈
- 크리에이터의 경우 라이브 만들기 / 콘텐츠 업로드 버튼이 바로 보이도록 수정
This commit is contained in:
@@ -11,6 +11,7 @@ struct ContentMainTabHomeView: View {
|
||||
|
||||
@StateObject var viewModel = ContentMainTabHomeViewModel()
|
||||
@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 {
|
||||
BaseView(isLoading: $viewModel.isLoading) {
|
||||
@@ -274,7 +275,7 @@ struct ContentMainTabHomeView: View {
|
||||
}
|
||||
}
|
||||
|
||||
if UserDefaults.string(forKey: .role) == MemberRole.CREATOR.rawValue {
|
||||
if role == MemberRole.CREATOR.rawValue {
|
||||
HStack(spacing: 5) {
|
||||
Image("ic_thumb_play")
|
||||
.resizable()
|
||||
|
Reference in New Issue
Block a user