mirror of
https://github.com/apache/cordova-plugin-statusbar.git
synced 2025-03-03 18:23:08 +08:00
Pushed too soon, missed a _
This commit is contained in:
parent
cf1092fe81
commit
60686a944a
@ -93,7 +93,7 @@ static const void *kStatusBarStyle = &kStatusBarStyle;
|
||||
-(void)statusBarDidChangeFrame:(NSNotification*)notification
|
||||
{
|
||||
//add a small delay for iOS 7 ( 0.1 seconds )
|
||||
_weak CDVStatusBar* weakSelf = self;
|
||||
__weak CDVStatusBar* weakSelf = self;
|
||||
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 0.1 * NSEC_PER_SEC), dispatch_get_main_queue(), ^{
|
||||
[weakSelf resizeWebView];
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user