mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-31 15:37:01 +00:00
Update to ios6 compatible on Modalviewcontroller
This commit is contained in:
parent
c95d80ffd8
commit
e57e6da043
@ -149,8 +149,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// use topmost modal view
|
// use topmost modal view
|
||||||
while (parentViewController.modalViewController) {
|
while (parentViewController.presentedViewController) {
|
||||||
parentViewController = parentViewController.modalViewController;
|
parentViewController = parentViewController.presentedViewController;
|
||||||
}
|
}
|
||||||
|
|
||||||
// special addition to get rootViewController from three20 which has it's own controller handling
|
// special addition to get rootViewController from three20 which has it's own controller handling
|
||||||
|
Loading…
x
Reference in New Issue
Block a user