From 3c6ac1c0607fc2a36702e6647c0555ab47fb35a8 Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Thu, 28 Mar 2024 18:16:03 +0900 Subject: [PATCH] =?UTF-8?q?=ED=95=9C=EC=A0=95=ED=8C=90=EC=9D=B4=20Sold=20O?= =?UTF-8?q?ut=EC=9D=BC=20=EB=95=8C=20=EA=B5=AC=EB=A7=A4=ED=95=9C=20?= =?UTF-8?q?=EC=82=AC=EB=9E=8C=EB=8F=84=20Sold=20Out=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=ED=91=9C=EC=8B=9C=EB=90=98=EB=8A=94=20=EB=B2=84=EA=B7=B8=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SodaLive/Sources/Content/Detail/ContentDetailPlayView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SodaLive/Sources/Content/Detail/ContentDetailPlayView.swift b/SodaLive/Sources/Content/Detail/ContentDetailPlayView.swift index 7de22ee..af41392 100644 --- a/SodaLive/Sources/Content/Detail/ContentDetailPlayView.swift +++ b/SodaLive/Sources/Content/Detail/ContentDetailPlayView.swift @@ -35,7 +35,7 @@ struct ContentDetailPlayView: View { ) .cornerRadius(10.7, corners: [.topLeft, .topRight]) - if let _ = audioContent.totalContentCount, let remainingContentCount = audioContent.remainingContentCount, remainingContentCount <= 0, audioContent.creator.creatorId != UserDefaults.int(forKey: .userId), !isShowPreviewAlert { + if let _ = audioContent.totalContentCount, let remainingContentCount = audioContent.remainingContentCount, remainingContentCount <= 0, audioContent.creator.creatorId != UserDefaults.int(forKey: .userId), !audioContent.existOrdered { Text("Sold Out") .font(.custom(Font.bold.rawValue, size: 36.7)) .foregroundColor(.white)