From cba7a1c3bad8a126f016833c3fa51f4c0dcb5d33 Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Tue, 24 Sep 2024 13:49:29 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BD=98=ED=85=90=EC=B8=A0=20=EC=97=85?= =?UTF-8?q?=EB=A1=9C=EB=93=9C=20-=20=EB=AF=B8=EB=A6=AC=EB=93=A3=EA=B8=B0?= =?UTF-8?q?=20=EC=B5=9C=EC=86=8C=EC=8B=9C=EA=B0=84=2015=EC=B4=88=EB=A1=9C?= =?UTF-8?q?=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SodaLive/Sources/Content/Create/ContentCreateView.swift | 4 ++-- SodaLive/Sources/Content/Create/ContentCreateViewModel.swift | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/SodaLive/Sources/Content/Create/ContentCreateView.swift b/SodaLive/Sources/Content/Create/ContentCreateView.swift index dced44b..cb2cb6e 100644 --- a/SodaLive/Sources/Content/Create/ContentCreateView.swift +++ b/SodaLive/Sources/Content/Create/ContentCreateView.swift @@ -356,7 +356,7 @@ struct ContentCreateView: View { .foregroundColor(Color(hex: "eeeeee")) .frame(maxWidth: .infinity, alignment: .leading) - Text("미리듣기 시간을 직접 설정하지 않으면 콘텐츠 앞부분 30초가 자동으로 설정됩니다. 미리듣기의 시간제한은 없습니다.") + Text("미리듣기 시간을 직접 설정하지 않으면 콘텐츠 앞부분 15초가 자동으로 설정됩니다. 미리듣기의 시간제한은 없습니다.") .font(.custom(Font.medium.rawValue, size: 13.3)) .foregroundColor(Color(hex: "777777")) .frame(maxWidth: .infinity, alignment: .leading) @@ -387,7 +387,7 @@ struct ContentCreateView: View { .foregroundColor(Color(hex: "d2d2d2")) .frame(maxWidth: .infinity, alignment: .leading) - TextField("00:00:30", text: $viewModel.previewEndTime) + TextField("00:00:15", text: $viewModel.previewEndTime) .autocapitalization(.none) .disableAutocorrection(true) .font(.custom(Font.bold.rawValue, size: 14.6)) diff --git a/SodaLive/Sources/Content/Create/ContentCreateViewModel.swift b/SodaLive/Sources/Content/Create/ContentCreateViewModel.swift index 8cae2f0..38e3b36 100644 --- a/SodaLive/Sources/Content/Create/ContentCreateViewModel.swift +++ b/SodaLive/Sources/Content/Create/ContentCreateViewModel.swift @@ -306,8 +306,8 @@ final class ContentCreateViewModel: ObservableObject { } let timeDifference = timeDifference(startTime: previewStartTime, endTime: previewEndTime) - if timeDifference < 30.0 { - errorMessage = "미리 듣기의 최소 시간은 30초 입니다" + if timeDifference < 15.0 { + errorMessage = "미리 듣기의 최소 시간은 15초 입니다" isShowPopup = true return false }