Skip to content

Commit

Permalink
Fix #16248: Move shceduling dismiss to didDisappear
Browse files Browse the repository at this point in the history
  • Loading branch information
bjtitus committed Apr 19, 2021
1 parent b027548 commit a6b26d9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ extension SchedulingCalendarViewController: UIViewControllerTransitioningDelegat
class SchedulingLightNavigationController: LightNavigationController {
var onDismiss: (() -> Void)?

override func viewWillDisappear(_ animated: Bool) {
super.viewWillDisappear(animated)
override func viewDidDisappear(_ animated: Bool) {
super.viewDidDisappear(animated)
onDismiss?()
}
}

0 comments on commit a6b26d9

Please sign in to comment.