forked from organicmaps/organicmaps
[ios] Fix issues with RouterResultCode::NeedMoreMaps
This commit is contained in:
parent
4749df1d1b
commit
b971bc5a63
1 changed files with 3 additions and 0 deletions
|
@ -210,6 +210,9 @@ using Observers = NSHashTable<Observer>;
|
|||
|
||||
- (void)stateError
|
||||
{
|
||||
if (_state == MWMNavigationDashboardStateReady)
|
||||
return;
|
||||
|
||||
NSAssert(_state == MWMNavigationDashboardStatePlanning, @"Invalid state change (error)");
|
||||
auto routePreview = self.routePreview;
|
||||
[routePreview router:[MWMRouter type] setState:MWMCircularProgressStateFailed];
|
||||
|
|
Loading…
Add table
Reference in a new issue