diff --git a/SodaLive/Sources/Live/Room/Detail/GetRoomDetailResponse.swift b/SodaLive/Sources/Live/Room/Detail/GetRoomDetailResponse.swift index eb9bc5c..72ec5c1 100644 --- a/SodaLive/Sources/Live/Room/Detail/GetRoomDetailResponse.swift +++ b/SodaLive/Sources/Live/Room/Detail/GetRoomDetailResponse.swift @@ -13,6 +13,7 @@ struct GetRoomDetailResponse: Decodable { let title: String let notice: String let isPaid: Bool + let isAdult: Bool let isPrivateRoom: Bool let password: String? let tags: [String] diff --git a/SodaLive/Sources/Live/Room/Detail/LiveDetailView.swift b/SodaLive/Sources/Live/Room/Detail/LiveDetailView.swift index f61e267..ed66b82 100644 --- a/SodaLive/Sources/Live/Room/Detail/LiveDetailView.swift +++ b/SodaLive/Sources/Live/Room/Detail/LiveDetailView.swift @@ -75,11 +75,23 @@ struct LiveDetailView: View { if let room = viewModel.room { ScrollView(.vertical, showsIndicators: false) { VStack(spacing: 0) { - Text(room.title) - .font(.custom(Font.bold.rawValue, size: 18.3)) - .foregroundColor(Color(hex: "eeeeee")) - .frame(width: proxy.size.width - 26.7, alignment: .leading) - .padding(.top, 6.7) + HStack(spacing: 5.3) { + if room.isAdult { + Text("19") + .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(room.title) + .font(.custom(Font.bold.rawValue, size: 18.3)) + .foregroundColor(Color(hex: "eeeeee")) + } + .frame(width: proxy.size.width - 26.7, alignment: .leading) + .padding(.top, 6.7) HStack(spacing: 0) { Text(room.beginDateTime) diff --git a/SodaLive/Sources/Live/Room/LiveRoomView.swift b/SodaLive/Sources/Live/Room/LiveRoomView.swift index 2bb1c79..d10fbf2 100644 --- a/SodaLive/Sources/Live/Room/LiveRoomView.swift +++ b/SodaLive/Sources/Live/Room/LiveRoomView.swift @@ -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) diff --git a/SodaLive/Sources/MyPage/Can/Payment/CanPaymentView.swift b/SodaLive/Sources/MyPage/Can/Payment/CanPaymentView.swift index 169ccf2..4e1854c 100644 --- a/SodaLive/Sources/MyPage/Can/Payment/CanPaymentView.swift +++ b/SodaLive/Sources/MyPage/Can/Payment/CanPaymentView.swift @@ -116,7 +116,7 @@ struct CanPaymentView: View { .font(.custom(Font.medium.rawValue, size: 12)) .foregroundColor(Color(hex: "777777")) - Text("자세한 내용은 요즘라이브 이용약관에서 확인할 수 있습니다.") + Text("자세한 내용은 소다라이브 이용약관에서 확인할 수 있습니다.") .font(.custom(Font.medium.rawValue, size: 12)) .foregroundColor(Color(hex: "777777")) .fixedSize(horizontal: false, vertical: true) diff --git a/SodaLive/Sources/MyPage/Can/Payment/CanPgPaymentView.swift b/SodaLive/Sources/MyPage/Can/Payment/CanPgPaymentView.swift index 11c793c..384880d 100644 --- a/SodaLive/Sources/MyPage/Can/Payment/CanPgPaymentView.swift +++ b/SodaLive/Sources/MyPage/Can/Payment/CanPgPaymentView.swift @@ -205,7 +205,7 @@ struct CanPgPaymentView: View { .font(.custom(Font.medium.rawValue, size: 12)) .foregroundColor(Color(hex: "777777")) - Text("자세한 내용은 요즘라이브 이용약관에서 확인할 수 있습니다.") + Text("자세한 내용은 소다라이브 이용약관에서 확인할 수 있습니다.") .font(.custom(Font.medium.rawValue, size: 12)) .foregroundColor(Color(hex: "777777")) .fixedSize(horizontal: false, vertical: true)