라이브 방이 19금일 때 제목 앞에 🔞 대신 방패(ic_shield)가 표시되도록 수정

This commit is contained in:
Yu Sung
2026-02-04 17:41:55 +09:00
parent 3590db82be
commit 68976e221c
2 changed files with 25 additions and 6 deletions

View File

@@ -50,10 +50,20 @@ struct LiveRoomInfoCreatorView: View {
}
VStack(alignment: .leading, spacing: 6.7) {
Text(isAdult ? "🔞 \(roomTitle)" : roomTitle)
.appFont(size: 12, weight: .bold)
.foregroundColor(.grayee)
.lineLimit(1)
HStack(alignment: .top, spacing: 4) {
if isAdult {
Image("ic_shield")
.resizable()
.scaledToFit()
.frame(width: 12, height: 12)
}
Text(roomTitle)
.appFont(size: 12, weight: .bold)
.foregroundColor(.grayee)
.multilineTextAlignment(.leading)
.lineLimit(1)
}
Text(creatorNickname)
.appFont(size: 12, weight: .medium)