Commit 04e2a500 authored by Sylvain Berfini's avatar Sylvain Berfini

Fix crash on incoming call received

parent 46669bfe
......@@ -642,7 +642,7 @@ namespace Linphone.Model
Logger.Msg("[LinphoneManager] Incoming received");
BaseModel.UIDispatcher.BeginInvoke(() =>
{
if (Globals.Instance.CallController.CustomIncomingCallView)
if (false) //TODO: Find a proper way to let the user choose between the two.
{
BaseModel.CurrentPage.NavigationService.Navigate(new Uri("/Views/IncomingCall.xaml?sip=" + call.GetRemoteAddress().AsStringUriOnly(), UriKind.RelativeOrAbsolute));
//Remove the current page from the back stack to avoid duplicating him after
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment