Skip to content

Commit

Permalink
Reset FixedSheetPresenter.current to rootController after dismissing …
Browse files Browse the repository at this point in the history
…in FixedHeightSheetView
  • Loading branch information
MalekKamel committed Feb 25, 2023
1 parent 0f27af0 commit e32aa6b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ struct FixedHeightSheetView<Content: View>: View {
return
}
presenter.controller?.dismiss(animated: false)
FixedSheetPresenter.current = .rootController
}
.animation(.easeInOut)
content.transition(.move(edge: .bottom))
Expand Down

0 comments on commit e32aa6b

Please sign in to comment.