| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1243ef6 commit 3c9fffa
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1007,10 +1007,8 @@ export namespace ios { | |||
| 1007 | 1007 | ||
| 1008 | 1008 | public popoverPresentationControllerDidDismissPopover(popoverPresentationController: UIPopoverPresentationController) { | |
| 1009 | 1009 | const owner = this.owner.get(); | |
| 1010 | - if (owner) { | ||
| 1011 | - if (typeof this.closedCallback === "function") { | ||
| 1012 | - this.closedCallback(); | ||
| 1013 | - } | ||
| 1010 | + if (owner && typeof this.closedCallback === "function") { | ||
| 1011 | + this.closedCallback(); | ||
| 1014 | 1012 | } | |
| 1015 | 1013 | } | |
| 1016 | 1014 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments