fix(creator): 답글 헤더 배치를 조정한다

This commit is contained in:
Yu Sung
2026-07-09 05:21:10 +09:00
parent 955cbb6592
commit 2d636a9bb8

View File

@@ -116,8 +116,33 @@ struct CreatorChannelReplyDetailFeedView: View {
.background(Color.white.opacity(0.6))
.clipShape(Circle())
if profileSize > 20 {
VStack(alignment: .leading, spacing: SodaSpacing.s4) {
HStack(spacing: SodaSpacing.s8) {
Text(item.nickname)
.appFont(size: profileSize > 20 ? 14 : 13, weight: .medium)
.appFont(size: 14, weight: .medium)
.foregroundColor(.white)
.lineLimit(1)
if showsSecret && item.isSecret {
Text(I18n.Explorer.secretComment)
.appFont(size: 11, weight: .medium)
.foregroundColor(Color.grayee)
.padding(.horizontal, 4)
.padding(.vertical, 2)
.background(Color.soda400.opacity(0.2))
.cornerRadius(3)
}
}
Text(item.relativeTimeText)
.appFont(size: 14, weight: .regular)
.foregroundColor(Color.gray500)
.lineLimit(1)
}
} else {
Text(item.nickname)
.appFont(size: 13, weight: .medium)
.foregroundColor(.white)
.lineLimit(1)
@@ -135,6 +160,7 @@ struct CreatorChannelReplyDetailFeedView: View {
.background(Color.soda400.opacity(0.2))
.cornerRadius(3)
}
}
Spacer(minLength: 0)