feat: 마이페이지

- 내 채널 보기 추가
This commit is contained in:
Yu Sung
2025-07-30 14:31:06 +09:00
parent 70af4cb3dd
commit 97a0798995

View File

@@ -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 // Can & Point Cards
CanPointCardsView( CanPointCardsView(
can: viewModel.chargeCan + viewModel.rewardCan, can: viewModel.chargeCan + viewModel.rewardCan,