Skip to content

Commit 184a6eb

Browse files
authored
1 parent 885881e commit 184a6eb

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/ios/CDVThemeableBrowser.m

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1152,6 +1152,12 @@ - (void)showToolBar:(BOOL)show : (NSString *) toolbarPosition
11521152
}
11531153
}
11541154

1155+
- (void) dismissViewControllerAnimated:(BOOL)flag completion:(void (^)(void))completion {
1156+
if ( self.presentedViewController) {
1157+
[super dismissViewControllerAnimated:flag completion:completion];
1158+
}
1159+
}
1160+
11551161
- (void)viewDidLoad
11561162
{
11571163
[super viewDidLoad];

0 commit comments

Comments
 (0)