feat: 마이페이지
- 내 채널 보기 추가
This commit is contained in:
@@ -87,6 +87,20 @@ struct MyPageView: View {
|
||||
}
|
||||
}
|
||||
|
||||
if UserDefaults.string(forKey: .role) == MemberRole.CREATOR.rawValue {
|
||||
Text("내 채널 보기")
|
||||
.font(.custom(Font.preBold.rawValue, size: 16))
|
||||
.foregroundColor(Color.white)
|
||||
.padding(.vertical, 12)
|
||||
.frame(maxWidth: .infinity)
|
||||
.background(Color.button)
|
||||
.cornerRadius(16)
|
||||
.padding(.horizontal, 24)
|
||||
.onTapGesture {
|
||||
AppState.shared.setAppStep(step: .creatorDetail(userId: UserDefaults.int(forKey: .userId)))
|
||||
}
|
||||
}
|
||||
|
||||
// Can & Point Cards
|
||||
CanPointCardsView(
|
||||
can: viewModel.chargeCan + viewModel.rewardCan,
|
||||
|
||||
Reference in New Issue
Block a user