Skip to content

Commit f3a36ad

Browse files
committed
[feat] #173 미분류 로직 수정
- 편집하기 후 돌아왔을 때 최신 미분류 링크들을 새로 받는 로직 추가 - 항상 최신순 정렬
1 parent 91b37b4 commit f3a36ad

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Projects/Feature/FeaturePokit/Sources/PokitRootFeature.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ private extension PokitRootFeature {
202202
return .send(.inner(.sort), animation: .pokitDissolve)
203203

204204
case .folder(.미분류):
205-
state.sortType = .sort(state.sortType == .sort(.오래된순) ? .최신순 : .오래된순)
205+
state.sortType = .sort(.최신순)
206206
return .send(.inner(.sort), animation: .pokitDissolve)
207207

208208
default: return .none
@@ -518,6 +518,9 @@ private extension PokitRootFeature {
518518
case .contents:
519519
return .none
520520

521+
case .linkEdit(.dismiss):
522+
return .send(.view(.뷰가_나타났을때))
523+
521524
case .linkEdit:
522525
return .none
523526

0 commit comments

Comments
 (0)