Skip to content

Commit 80e38fd

Browse files
committed
fix modalview getting closed when dismissing alert [iOS 5]
1 parent f2461e3 commit 80e38fd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

SIAlertView/SIAlertView.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,8 @@ - (void)dismissAnimated:(BOOL)animated cleanup:(BOOL)cleanup
442442
}
443443
}
444444

445-
[self.oldKeyWindow makeKeyAndVisible];
445+
[self.oldKeyWindow makeKeyWindow];
446+
self.oldKeyWindow.hidden = NO;
446447
}
447448

448449
#pragma mark - Transitions

0 commit comments

Comments
 (0)