라이브 방이 19금일 때 제목 앞에 🔞 대신 방패(ic_shield)가 표시되도록 수정
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user