From fa4dd1c8eb3a44fa560b2d5169e594f64ce764e1 Mon Sep 17 00:00:00 2001 From: Benjamin Reis Date: Thu, 2 Feb 2017 15:12:35 +0100 Subject: [PATCH] Fix UI Bug : pop current view on call error --- Classes/LinphoneManager.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Classes/LinphoneManager.m b/Classes/LinphoneManager.m index cf3bd6e5e..820a1d7ea 100644 --- a/Classes/LinphoneManager.m +++ b/Classes/LinphoneManager.m @@ -894,6 +894,9 @@ static void linphone_iphone_display_status(struct _LinphoneCore *lc, const char } } } + if (state == LinphoneCallError) { + [PhoneMainView.instance popCurrentView]; + } } if (state == LinphoneCallReleased) {