feat(channel): 공유 진입점을 연결한다

This commit is contained in:
Yu Sung
2026-09-15 11:10:34 +09:00
parent fba87f201b
commit dc7a6d083b
4 changed files with 63 additions and 12 deletions
@@ -16,6 +16,7 @@ struct ProfileReportMenuView: View {
let userUnBlockAction: () -> Void
let userReportAction: () -> Void
let profileReportAction: () -> Void
var channelShareAction: (() -> Void)? = nil
var body: some View {
ZStack {
@@ -28,6 +29,23 @@ struct ProfileReportMenuView: View {
Spacer()
VStack(spacing: 13.3) {
if let channelShareAction = channelShareAction {
HStack(spacing: 0) {
Text(I18n.CreatorChannelHome.channelShare)
.appFont(size: 13.3, weight: .medium)
.foregroundColor(.white)
Spacer()
}
.padding(.vertical, 8)
.padding(.horizontal, 26.7)
.contentShape(Rectangle())
.onTapGesture {
isShowing = false
channelShareAction()
}
}
HStack(spacing: 0) {
Text(isBlockedUser ? I18n.User.unblockUserAction : I18n.User.blockUserAction)
.appFont(size: 13.3, weight: .medium)