From 2cdb3725f852868ed75448e211c5fb5a12a84968 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=8F=84=ED=98=95?= <108233361+ShapeKim98@users.noreply.github.com> Date: Mon, 9 Dec 2024 16:04:17 +0900 Subject: [PATCH] =?UTF-8?q?[design]=20#167=20=EB=A6=AC=EB=A7=88=EC=9D=B8?= =?UTF-8?q?=EB=93=9C=20=EC=84=A0=ED=83=9D=20=EC=98=81=EC=97=AD=20=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ContentSettingFeature.swift | 4 --- .../ContentSetting/ContentSettingView.swift | 35 ------------------- 2 files changed, 39 deletions(-) diff --git a/Projects/Feature/FeatureContentSetting/Sources/ContentSetting/ContentSettingFeature.swift b/Projects/Feature/FeatureContentSetting/Sources/ContentSetting/ContentSettingFeature.swift index a0a86021..3e326aa6 100644 --- a/Projects/Feature/FeatureContentSetting/Sources/ContentSetting/ContentSettingFeature.swift +++ b/Projects/Feature/FeatureContentSetting/Sources/ContentSetting/ContentSettingFeature.swift @@ -50,10 +50,6 @@ public struct ContentSettingFeature { get { domain.memo } set { domain.memo = newValue } } - var isRemind: BaseContentDetail.RemindState { - get { domain.alertYn } - set { domain.alertYn = newValue } - } var content: BaseContentDetail? { get { domain.content } } diff --git a/Projects/Feature/FeatureContentSetting/Sources/ContentSetting/ContentSettingView.swift b/Projects/Feature/FeatureContentSetting/Sources/ContentSetting/ContentSettingView.swift index 158c8bb4..bf4f0757 100644 --- a/Projects/Feature/FeatureContentSetting/Sources/ContentSetting/ContentSettingView.swift +++ b/Projects/Feature/FeatureContentSetting/Sources/ContentSetting/ContentSettingView.swift @@ -40,8 +40,6 @@ public extension ContentSettingView { pokitSelectButton memoTextArea - - remindSwitchRadio } .padding(.horizontal, 20) .padding(.top, 16) @@ -158,39 +156,6 @@ private extension ContentSettingView { ) .frame(height: 192) } - - var remindSwitchRadio: some View { - VStack(alignment: .leading, spacing: 0) { - Text("리마인드 알림을 보내드릴까요?") - .pokitFont(.b2(.m)) - .foregroundStyle(.pokit(.text(.secondary))) - .padding(.bottom, 12) - - PokitSwitchRadio { - PokitPartSwitchRadio( - labelText: "안받을래요", - selection: $store.isRemind, - to: .no, - style: .stroke - ) - .background() - - PokitPartSwitchRadio( - labelText: "받을래요", - selection: $store.isRemind, - to: .yes, - style: .stroke - ) - .background() - } - .padding(.bottom, 8) - - Text("일주일 후에 알림을 전송해드립니다") - .pokitFont(.detail1) - .foregroundStyle(.pokit(.text(.tertiary))) - } - .padding(.bottom, 16) - } } private extension ContentSettingView { enum FocusedType: Equatable {