Skip to content

Commit 2cdb372

Browse files
committed
[design] #167 리마인드 선택 영역 제거
1 parent 5358573 commit 2cdb372

File tree

2 files changed

+0
-39
lines changed

2 files changed

+0
-39
lines changed

Projects/Feature/FeatureContentSetting/Sources/ContentSetting/ContentSettingFeature.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ public struct ContentSettingFeature {
5050
get { domain.memo }
5151
set { domain.memo = newValue }
5252
}
53-
var isRemind: BaseContentDetail.RemindState {
54-
get { domain.alertYn }
55-
set { domain.alertYn = newValue }
56-
}
5753
var content: BaseContentDetail? {
5854
get { domain.content }
5955
}

Projects/Feature/FeatureContentSetting/Sources/ContentSetting/ContentSettingView.swift

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ public extension ContentSettingView {
4040
pokitSelectButton
4141

4242
memoTextArea
43-
44-
remindSwitchRadio
4543
}
4644
.padding(.horizontal, 20)
4745
.padding(.top, 16)
@@ -158,39 +156,6 @@ private extension ContentSettingView {
158156
)
159157
.frame(height: 192)
160158
}
161-
162-
var remindSwitchRadio: some View {
163-
VStack(alignment: .leading, spacing: 0) {
164-
Text("리마인드 알림을 보내드릴까요?")
165-
.pokitFont(.b2(.m))
166-
.foregroundStyle(.pokit(.text(.secondary)))
167-
.padding(.bottom, 12)
168-
169-
PokitSwitchRadio {
170-
PokitPartSwitchRadio(
171-
labelText: "안받을래요",
172-
selection: $store.isRemind,
173-
to: .no,
174-
style: .stroke
175-
)
176-
.background()
177-
178-
PokitPartSwitchRadio(
179-
labelText: "받을래요",
180-
selection: $store.isRemind,
181-
to: .yes,
182-
style: .stroke
183-
)
184-
.background()
185-
}
186-
.padding(.bottom, 8)
187-
188-
Text("일주일 후에 알림을 전송해드립니다")
189-
.pokitFont(.detail1)
190-
.foregroundStyle(.pokit(.text(.tertiary)))
191-
}
192-
.padding(.bottom, 16)
193-
}
194159
}
195160
private extension ContentSettingView {
196161
enum FocusedType: Equatable {

0 commit comments

Comments
 (0)