Skip to content

Commit

Permalink
[chore] #154 코드 정리
Browse files Browse the repository at this point in the history
  • Loading branch information
ShapeKim98 committed Nov 6, 2024
1 parent f38e20f commit 6a01b00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 0 additions & 2 deletions Projects/App/Sources/MainTabSplit/Pokit/PokitSplitView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@ import SwiftUI

import ComposableArchitecture
import FeaturePokit
import FeatureRemind
import FeatureSetting
import FeatureCategorySetting
import FeatureContentDetail
import FeatureContentSetting
import FeatureCategoryDetail
import FeatureContentList
import FeatureCategorySharing
import CoreKit
import DSKit
import Util

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ public struct RemindSplitFeature {
case 링크추가(ContentSettingFeature.Action)
case 포킷추가및수정(PresentationAction<PokitCategorySettingFeature.Action>)
case 검색(StackElementID, PokitSearchFeature.Action)
case 설정(PresentationAction<PokitSettingFeature.Action>)
case 링크상세(PresentationAction<ContentDetailFeature.Action>)
case 알림함(PresentationAction<PokitAlertBoxFeature.Action>)
case 링크수정(PresentationAction<ContentSettingFeature.Action>)
Expand Down Expand Up @@ -232,8 +231,10 @@ private extension RemindSplitFeature {
switch action {
// - MARK: 리마인드
case .리마인드(.delegate(.링크목록_안읽음)):
state.path.removeAll()
return .send(.inner(.링크목록_활성화(.unread)))
case .리마인드(.delegate(.링크목록_즐겨찾기)):
state.path.removeAll()
return .send(.inner(.링크목록_활성화(.favorite)))
case let .리마인드(.delegate(.링크상세(content: content))):
return .send(.inner(.링크상세_활성화(content.id)))
Expand Down Expand Up @@ -280,10 +281,6 @@ private extension RemindSplitFeature {
case .검색:
return .none

// - MARK: 설정
case .설정:
return .none

// - MARK: 링크상세
case .링크상세(.presented(.delegate(.즐겨찾기_갱신_완료))),
.링크상세(.presented(.delegate(.컨텐츠_조회_완료))),
Expand Down

0 comments on commit 6a01b00

Please sign in to comment.