콘텐츠 대여 가격
- 소장가격의 60%에서 70% 표기로 변경
This commit is contained in:
		| @@ -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 { | ||||
|   | ||||
| @@ -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 { | ||||
|   | ||||
| @@ -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) | ||||
|                             } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Yu Sung
					Yu Sung