Skip to content

Commit 9a3d9a6

Browse files
ShapeKim98stealmh
authored andcommitted
[fix] #111 공유 시트에서 닫기 버튼을 눌렀을 시 안닫히는 문제 수정
1 parent b5837c1 commit 9a3d9a6

File tree

5 files changed

+1
-5
lines changed

5 files changed

+1
-5
lines changed

Projects/Feature/FeatureContentDetail/Sources/ContentDetail/ContentDetailFeature.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ private extension ContentDetailFeature {
177177
}
178178
}
179179
case .링크_공유_완료(completed: let completed):
180-
state.showShareSheet = !completed
180+
state.showShareSheet = false
181181
return .none
182182
case .alertCancelButtonTapped:
183183
state.showAlert = false

Projects/Feature/FeatureContentList/Sources/ContentList/ContentListFeature.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,6 @@ private extension ContentListFeature {
194194
case .pagenation:
195195
return .run { send in await send(.async(.pagenation_네트워크)) }
196196
case .링크_공유_완료(completed: let completed):
197-
guard completed else { return .none }
198197
state.shareSheetItem = nil
199198
return .none
200199
}

Projects/Feature/FeaturePokit/Sources/PokitRootFeature.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,6 @@ private extension PokitRootFeature {
245245
default: return .none
246246
}
247247
case .링크_공유_완료(completed: let completed):
248-
guard completed else { return .none }
249248
state.shareSheetItem = nil
250249
return .none
251250
}

Projects/Feature/FeatureRemind/Sources/Remind/RemindFeature.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ private extension RemindFeature {
176176
await send(.async(.즐겨찾기_링크모음_조회), animation: .pokitDissolve)
177177
}
178178
case .링크_공유_완료(completed: let completed):
179-
guard completed else { return .none }
180179
state.shareSheetItem = nil
181180
return .none
182181
}

Projects/Feature/FeatureSetting/Sources/Search/PokitSearchFeature.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,6 @@ private extension PokitSearchFeature {
332332
state.domain.condition.isRead = false
333333
return .send(.inner(.페이징_초기화))
334334
case .링크_공유_완료(completed: let completed):
335-
guard completed else { return .none }
336335
state.shareSheetItem = nil
337336
return .none
338337
case .로딩_isPresented:

0 commit comments

Comments
 (0)