라이브 상세 - 제목 왼쪽에 19금 표시 추가

This commit is contained in:
Yu Sung
2023-08-21 04:08:12 +09:00
parent 550bf0c1c7
commit 3ab5735fde
5 changed files with 26 additions and 12 deletions

View File

@@ -110,11 +110,12 @@ struct LiveRoomView: View {
HStack(spacing: 5.3) {
if liveRoomInfo.isAdult {
Text("19")
.font(.custom(Font.bold.rawValue, size: 11.3))
.foregroundColor(Color.white)
.padding(4)
.background(Color(hex: "e53621"))
.clipShape(Circle())
.font(.custom(Font.medium.rawValue, size: 12))
.foregroundColor(Color(hex: "e33621"))
.padding(.horizontal, 5.3)
.padding(.vertical, 3.3)
.background(Color(hex: "601d14"))
.cornerRadius(2.6)
}
Text(liveRoomInfo.title)