오디션 상세
- 지원리스트에서 유저 프로필을 누르면 채널로 이동
This commit is contained in:
@@ -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: {
|
||||
|
Reference in New Issue
Block a user