iOS UI absent country dialog fix.

This commit is contained in:
Lev Dragunov 2015-10-06 11:50:39 +03:00
parent d5d6c8bae8
commit 816b90c161

View file

@ -349,7 +349,7 @@
[self showStatePlanning];
break;
case MWMNavigationDashboardStateError:
NSAssert(_state == MWMNavigationDashboardStatePlanning, @"Invalid state change (error)");
NSAssert(_state == MWMNavigationDashboardStatePlanning || _state == MWMNavigationDashboardStateReady, @"Invalid state change (error)");
[self handleError];
break;
case MWMNavigationDashboardStateReady: