오디션 상세

- 지원리스트에서 유저 프로필을 누르면 채널로 이동
This commit is contained in:
Yu Sung
2025-01-08 16:21:29 +09:00
parent ca7a2d4c72
commit b5b53f95c7
4 changed files with 166 additions and 152 deletions

View File

@@ -11,6 +11,7 @@ import Kingfisher
struct UserProfileCreatorView: View {
let creator: CreatorResponse
let isCreator: Bool
let creatorFollow: () -> Void
let showCreatorFollowNotifyDialog: () -> Void
@@ -42,10 +43,12 @@ struct UserProfileCreatorView: View {
Spacer()
Image("btn_big_share")
.resizable()
.frame(width: 33.3, height: 33.3)
.onTapGesture { shareChannel() }
if isCreator {
Image("btn_big_share")
.resizable()
.frame(width: 33.3, height: 33.3)
.onTapGesture { shareChannel() }
}
}
if creator.creatorId == UserDefaults.int(forKey: .userId) {
@@ -158,7 +161,8 @@ struct UserProfileCreatorView_Previews: PreviewProvider {
isNotify: false,
isNotification: false,
notificationRecipientCount: 2
)
),
isCreator: false
) {
} showCreatorFollowNotifyDialog: {
} shareChannel: {