Skip to content

Commit

Permalink
[design] #167 리마인드 선택 영역 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
ShapeKim98 committed Dec 9, 2024
1 parent 5358573 commit 2cdb372
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ public extension ContentSettingView {
pokitSelectButton

memoTextArea

remindSwitchRadio
}
.padding(.horizontal, 20)
.padding(.top, 16)
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 2cdb372

Please sign in to comment.