From 97a07989950f85e7f3294686f5dd548c1c695946 Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Wed, 30 Jul 2025 14:31:06 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EB=A7=88=EC=9D=B4=ED=8E=98=EC=9D=B4?= =?UTF-8?q?=EC=A7=80=20-=20=EB=82=B4=20=EC=B1=84=EB=84=90=20=EB=B3=B4?= =?UTF-8?q?=EA=B8=B0=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SodaLive/Sources/MyPage/MyPageView.swift | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/SodaLive/Sources/MyPage/MyPageView.swift b/SodaLive/Sources/MyPage/MyPageView.swift index 9301051..1a06846 100644 --- a/SodaLive/Sources/MyPage/MyPageView.swift +++ b/SodaLive/Sources/MyPage/MyPageView.swift @@ -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,