심사용 계정이 아닌 곳에서 가격 * 110으로 표시되는 버그 수정

This commit is contained in:
Yu Sung
2024-05-27 22:18:33 +09:00
parent db828cf44d
commit 76c20c2658
2 changed files with 19 additions and 7 deletions

View File

@@ -233,7 +233,7 @@ struct ContentDetailView: View {
orderType: orderType,
contentId: audioContent.contentId,
title: audioContent.title,
can: orderType == .RENTAL ? Int(ceil(Double(audioContent.price) * 0.6)) : audioContent.price
can: !audioContent.isOnlyRental && orderType == .RENTAL ? Int(ceil(Double(audioContent.price) * 0.6)) : audioContent.price
)
)
} else {