зеркало из https://github.com/nextcloud/talk-ios.git
Do not show join call dialog while in a call.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
This commit is contained in:
Родитель
8cf9cc1bf4
Коммит
a87cfe8c2c
|
@ -104,6 +104,11 @@
|
|||
[alert addAction:joinButton];
|
||||
[alert addAction:cancelButton];
|
||||
|
||||
// Do not show join call dialog until we don't handle 'hangup current call'/'join new one' properly.
|
||||
if (self.mainTabBarController.presentedViewController != _callViewController) {
|
||||
[self.mainTabBarController dismissViewControllerAnimated:NO completion:nil];
|
||||
}
|
||||
|
||||
[self.mainTabBarController presentViewController:alert animated:YES completion:nil];
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче