라이브 취소 안내 문구와 강조 색상 조정

This commit is contained in:
Yu Sung
2026-01-05 14:21:36 +09:00
parent e7c8c2a12e
commit f855ca55ca
2 changed files with 14 additions and 6 deletions

View File

@@ -596,6 +596,14 @@ enum I18n {
ja: "キャンセル理由を入力してください" ja: "キャンセル理由を入力してください"
) )
} }
static var reservationCanceled: String {
pick(
ko: "예약이 취소되었습니다.",
en: "The reservation has been canceled.",
ja: "予約がキャンセルされました。"
)
}
} }
enum CreateContent { enum CreateContent {

View File

@@ -46,7 +46,7 @@ struct LiveDetailView: View {
if isShowCancelPopup { if isShowCancelPopup {
LiveCancelDialog(isShowCancelPopup: $isShowCancelPopup) { reason in LiveCancelDialog(isShowCancelPopup: $isShowCancelPopup) { reason in
viewModel.liveCancel(roomId: roomId, reason: reason) { viewModel.liveCancel(roomId: roomId, reason: reason) {
viewModel.errorMessage = "예약이 취소되었습니다." viewModel.errorMessage = I18n.LiveCancel.reservationCanceled
viewModel.isShowPopup = true viewModel.isShowPopup = true
onClickCancel() onClickCancel()
} }
@@ -241,7 +241,7 @@ struct LiveDetailView: View {
Text(room.tags.map { "#\($0)" }.joined(separator: " ")) Text(room.tags.map { "#\($0)" }.joined(separator: " "))
.font(.custom(Font.medium.rawValue, size: 13.3)) .font(.custom(Font.medium.rawValue, size: 13.3))
.foregroundColor(Color(hex: "9970ff")) .foregroundColor(Color(hex: "3bb9f1"))
.frame(width: proxy.size.width - 26, alignment: .leading) .frame(width: proxy.size.width - 26, alignment: .leading)
.padding(.top, 26.7) .padding(.top, 26.7)
@@ -292,7 +292,7 @@ struct LiveDetailView: View {
.padding(.vertical, 13.3) .padding(.vertical, 13.3)
.frame(width: geo.size.width - 66.7, alignment: .center) .frame(width: geo.size.width - 66.7, alignment: .center)
.font(.custom(Font.medium.rawValue, size: 12)) .font(.custom(Font.medium.rawValue, size: 12))
.background(Color(hex: "9970ff")) .background(Color(hex: "3bb9f1"))
.foregroundColor(Color.white) .foregroundColor(Color.white)
.multilineTextAlignment(.center) .multilineTextAlignment(.center)
.cornerRadius(20) .cornerRadius(20)
@@ -333,7 +333,7 @@ struct LiveDetailView: View {
.overlay( .overlay(
RoundedRectangle(cornerRadius: 10) RoundedRectangle(cornerRadius: 10)
.strokeBorder(lineWidth: 1) .strokeBorder(lineWidth: 1)
.foregroundColor(Color(hex: "9970ff")) .foregroundColor(Color(hex: "3bb9f1"))
) )
.onTapGesture { .onTapGesture {
AppState.shared.back() AppState.shared.back()
@@ -345,7 +345,7 @@ struct LiveDetailView: View {
.foregroundColor(Color.white) .foregroundColor(Color.white)
.padding(.vertical, 16) .padding(.vertical, 16)
.frame(maxWidth: .infinity) .frame(maxWidth: .infinity)
.background(Color(hex: "9970ff")) .background(Color(hex: "3bb9f1"))
.cornerRadius(10) .cornerRadius(10)
.onTapGesture { .onTapGesture {
onClickStart() onClickStart()
@@ -387,7 +387,7 @@ struct LiveDetailView: View {
.foregroundColor(Color.white) .foregroundColor(Color.white)
.padding(.vertical, 16) .padding(.vertical, 16)
.padding(.horizontal, 99) .padding(.horizontal, 99)
.background(Color(hex: "9970ff")) .background(Color(hex: "3bb9f1"))
.cornerRadius(10) .cornerRadius(10)
} }
.frame(width: screenSize().width - 26.7) .frame(width: screenSize().width - 26.7)