Skip to content

Commit

Permalink
[GH-421] Fix crash when banner size changes as its being dismissed (#…
Browse files Browse the repository at this point in the history
…3363)
  • Loading branch information
rlepinski authored Jan 31, 2025
1 parent 98c5504 commit b853513
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ class InAppMessageBannerViewController: InAppMessageHostingController<InAppMessa
}
}

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

func createBannerConstraints() {
Expand Down

0 comments on commit b853513

Please sign in to comment.