Skip to content

Commit

Permalink
[fix] #111 공유 시트에서 닫기 버튼을 눌렀을 시 안닫히는 문제 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ShapeKim98 committed Sep 8, 2024
1 parent 752c7bb commit 9fd14d0
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ private extension ContentDetailFeature {
}
}
case .링크_공유_완료(completed: let completed):
state.showShareSheet = !completed
state.showShareSheet = false
return .none
case .alertCancelButtonTapped:
state.showAlert = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ private extension ContentListFeature {
case .pagenation:
return .run { send in await send(.async(.pagenation_네트워크)) }
case .링크_공유_완료(completed: let completed):
guard completed else { return .none }
state.shareSheetItem = nil
return .none
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@ private extension PokitRootFeature {
default: return .none
}
case .링크_공유_완료(completed: let completed):
guard completed else { return .none }
state.shareSheetItem = nil
return .none
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ private extension RemindFeature {
await send(.async(.즐겨찾기_링크모음_조회), animation: .pokitDissolve)
}
case .링크_공유_완료(completed: let completed):
guard completed else { return .none }
state.shareSheetItem = nil
return .none
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,6 @@ private extension PokitSearchFeature {
state.domain.condition.isRead = false
return .send(.inner(.페이징_초기화))
case .링크_공유_완료(completed: let completed):
guard completed else { return .none }
state.shareSheetItem = nil
return .none
case .로딩_isPresented:
Expand Down

0 comments on commit 9fd14d0

Please sign in to comment.