콘텐츠 답글 - 댓글이 랜덤으로 보이는 버그 수정
This commit is contained in:
@@ -9,10 +9,8 @@ import SwiftUI
|
||||
import Kingfisher
|
||||
|
||||
struct AudioContentCommentItemView: View {
|
||||
|
||||
@Binding var isDisabledNavigationLink: Bool
|
||||
|
||||
let contentCreatorId: Int
|
||||
let audioContentId: Int
|
||||
let commentItem: GetAudioContentCommentListItem
|
||||
let isReplyComment: Bool
|
||||
let isShowPopupMenuButton: Bool
|
||||
@@ -120,9 +118,17 @@ struct AudioContentCommentItemView: View {
|
||||
.padding(.top, commentItem.donationCan > 0 ? 0 : 13.3)
|
||||
|
||||
if !isReplyComment {
|
||||
Text(commentItem.replyCount > 0 ? "답글 \(commentItem.replyCount)개" : "답글 쓰기")
|
||||
.font(.custom(Font.medium.rawValue, size: 13.3))
|
||||
.foregroundColor(Color(hex: "9970ff"))
|
||||
NavigationLink(
|
||||
destination: AudioContentListReplyView(
|
||||
creatorId: contentCreatorId,
|
||||
audioContentId: audioContentId,
|
||||
parentComment: commentItem
|
||||
)
|
||||
) {
|
||||
Text(commentItem.replyCount > 0 ? "답글 \(commentItem.replyCount)개" : "답글 쓰기")
|
||||
.font(.custom(Font.medium.rawValue, size: 13.3))
|
||||
.foregroundColor(Color(hex: "9970ff"))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -145,7 +151,6 @@ struct AudioContentCommentItemView: View {
|
||||
.foregroundColor(Color(hex: "777777"))
|
||||
.onTapGesture {
|
||||
isModeModify = true
|
||||
isDisabledNavigationLink = true
|
||||
isShowPopupMenu = false
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user