Skip to content

Commit

Permalink
[fix] #154 RemindSplit에서 링크수정 시트 안나오는 문제 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ShapeKim98 committed Nov 6, 2024
1 parent 0205406 commit 4824bfb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ public struct RemindSplitFeature {
.ifLet(\.$링크수정, action: \.링크수정) {
ContentSettingFeature()
}
._printChanges(.actionLabels)
}
}
//MARK: - FeatureAction Effect
Expand Down
1 change: 0 additions & 1 deletion Projects/App/Sources/Root/RootFeature.swift
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,5 @@ public struct RootFeature {
.ifCaseLet(\.intro, action: \.intro) { IntroFeature() }
.ifCaseLet(\.mainTab, action: \.mainTab) { MainTabFeature() }
.ifCaseLet(\.mainTabSplit, action: \.mainTabSplit) { MainTabSplitFeature() }
._printChanges()
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,9 @@ public struct ContentListFeature {

/// - Reducer body
public var body: some ReducerOf<Self> {
BindingReducer(action: \.view)

Reduce(self.core)
._printChanges()
}
}
//MARK: - FeatureAction Effect
Expand All @@ -162,10 +163,10 @@ private extension ContentListFeature {
case .컨텐츠_항목_눌렀을때(let content):
return .send(.delegate(.링크상세(content: content)))
case .bottomSheet(let delegate, let content):
return .concatenate(
.send(.inner(.바텀시트_해제)),
.send(.scope(.bottomSheet(delegate: delegate, content: content)))
)
return .run { send in
await send(.inner(.바텀시트_해제))
await send(.scope(.bottomSheet(delegate: delegate, content: content)))
}
case .컨텐츠_삭제_눌렀을때:
guard let id = state.alertItem?.id else { return .none }
return .send(.async(.컨텐츠_삭제_API(id: id)))
Expand Down

0 comments on commit 4824bfb

Please sign in to comment.