Merge pull request #738 from lazydan/master

(ios): Fix incorrect view height from the second open time
This commit is contained in:
Dave Alden
2020-07-23 12:50:21 +01:00
committed by GitHub
+1
View File
@@ -1071,6 +1071,7 @@ BOOL isExiting = FALSE;
// Run later to avoid the "took a long time" log message.
dispatch_async(dispatch_get_main_queue(), ^{
isExiting = TRUE;
lastReducedStatusBarHeight = 0.0;
if ([weakSelf respondsToSelector:@selector(presentingViewController)]) {
[[weakSelf presentingViewController] dismissViewControllerAnimated:YES completion:nil];
} else {