(ios): Fix incorrect view height from the second open time

This commit is contained in:
lazydan 2020-06-20 00:56:52 +08:00
parent d5fba787d4
commit 6d60e4c6eb

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 {