fix(creator): 답글 헤더 배치를 조정한다
This commit is contained in:
@@ -116,24 +116,50 @@ struct CreatorChannelReplyDetailFeedView: View {
|
|||||||
.background(Color.white.opacity(0.6))
|
.background(Color.white.opacity(0.6))
|
||||||
.clipShape(Circle())
|
.clipShape(Circle())
|
||||||
|
|
||||||
Text(item.nickname)
|
if profileSize > 20 {
|
||||||
.appFont(size: profileSize > 20 ? 14 : 13, weight: .medium)
|
VStack(alignment: .leading, spacing: SodaSpacing.s4) {
|
||||||
.foregroundColor(.white)
|
HStack(spacing: SodaSpacing.s8) {
|
||||||
.lineLimit(1)
|
Text(item.nickname)
|
||||||
|
.appFont(size: 14, weight: .medium)
|
||||||
|
.foregroundColor(.white)
|
||||||
|
.lineLimit(1)
|
||||||
|
|
||||||
Text(item.relativeTimeText)
|
if showsSecret && item.isSecret {
|
||||||
.appFont(size: 14, weight: .regular)
|
Text(I18n.Explorer.secretComment)
|
||||||
.foregroundColor(Color.gray500)
|
.appFont(size: 11, weight: .medium)
|
||||||
.lineLimit(1)
|
.foregroundColor(Color.grayee)
|
||||||
|
.padding(.horizontal, 4)
|
||||||
|
.padding(.vertical, 2)
|
||||||
|
.background(Color.soda400.opacity(0.2))
|
||||||
|
.cornerRadius(3)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if showsSecret && item.isSecret {
|
Text(item.relativeTimeText)
|
||||||
Text(I18n.Explorer.secretComment)
|
.appFont(size: 14, weight: .regular)
|
||||||
.appFont(size: 11, weight: .medium)
|
.foregroundColor(Color.gray500)
|
||||||
.foregroundColor(Color.grayee)
|
.lineLimit(1)
|
||||||
.padding(.horizontal, 4)
|
}
|
||||||
.padding(.vertical, 2)
|
} else {
|
||||||
.background(Color.soda400.opacity(0.2))
|
Text(item.nickname)
|
||||||
.cornerRadius(3)
|
.appFont(size: 13, weight: .medium)
|
||||||
|
.foregroundColor(.white)
|
||||||
|
.lineLimit(1)
|
||||||
|
|
||||||
|
Text(item.relativeTimeText)
|
||||||
|
.appFont(size: 14, weight: .regular)
|
||||||
|
.foregroundColor(Color.gray500)
|
||||||
|
.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)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Spacer(minLength: 0)
|
Spacer(minLength: 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user