diff --git a/SodaLive/Sources/Content/Detail/ContentDetailView.swift b/SodaLive/Sources/Content/Detail/ContentDetailView.swift index a359844..2928c06 100644 --- a/SodaLive/Sources/Content/Detail/ContentDetailView.swift +++ b/SodaLive/Sources/Content/Detail/ContentDetailView.swift @@ -239,7 +239,7 @@ struct ContentDetailView: View { orderType: orderType, contentId: audioContent.contentId, title: audioContent.title, - can: !audioContent.isOnlyRental && orderType == .RENTAL ? Int(ceil(Double(audioContent.price) * 0.6)) : audioContent.price + can: !audioContent.isOnlyRental && orderType == .RENTAL ? Int(ceil(Double(audioContent.price) * 0.7)) : audioContent.price ) ) } else { diff --git a/SodaLive/Sources/Content/Detail/ContentOrderConfirmDialogView.swift b/SodaLive/Sources/Content/Detail/ContentOrderConfirmDialogView.swift index 59296be..1be221d 100644 --- a/SodaLive/Sources/Content/Detail/ContentOrderConfirmDialogView.swift +++ b/SodaLive/Sources/Content/Detail/ContentOrderConfirmDialogView.swift @@ -115,7 +115,7 @@ struct ContentOrderConfirmDialogView: View { .frame(width: 16.7, height: 16.7) if orderType == .RENTAL { - Text("\(isOnlyRental ? audioContent.price : Int(ceil(Double(audioContent.price) * 0.6)))") + Text("\(isOnlyRental ? audioContent.price : Int(ceil(Double(audioContent.price) * 0.7)))") .font(.custom(Font.bold.rawValue, size: 13.3)) .foregroundColor(Color.grayee) } else { @@ -125,7 +125,7 @@ struct ContentOrderConfirmDialogView: View { } } else { if orderType == .RENTAL { - Text("\(isOnlyRental ? audioContent.price * 110 : Int(ceil(Double(audioContent.price) * 0.6)) * 110)원") + Text("\(isOnlyRental ? audioContent.price * 110 : Int(ceil(Double(audioContent.price) * 0.7)) * 110)원") .font(.custom(Font.bold.rawValue, size: 13.3)) .foregroundColor(Color.grayee) } else { diff --git a/SodaLive/Sources/Content/Detail/ContentOrderDialogView.swift b/SodaLive/Sources/Content/Detail/ContentOrderDialogView.swift index 503f0a6..6673d3c 100644 --- a/SodaLive/Sources/Content/Detail/ContentOrderDialogView.swift +++ b/SodaLive/Sources/Content/Detail/ContentOrderDialogView.swift @@ -47,11 +47,11 @@ struct ContentOrderDialogView: View { } if UserDefaults.int(forKey: .userId) == 17958 { - Text(isOnlyRental ? "\(price * 110)" : "\(Int(ceil(Double(price) * 0.6)) * 110)") + Text(isOnlyRental ? "\(price * 110)" : "\(Int(ceil(Double(price) * 0.7)) * 110)") .font(.custom(Font.bold.rawValue, size: 13.3)) .foregroundColor(Color.grayee) } else { - Text(isOnlyRental ? "\(price)" : "\(Int(ceil(Double(price) * 0.6)))") + Text(isOnlyRental ? "\(price)" : "\(Int(ceil(Double(price) * 0.7)))") .font(.custom(Font.bold.rawValue, size: 13.3)) .foregroundColor(Color.grayee) }