forked from organicmaps/organicmaps
Merge pull request #14 from igrechuhin/ig-fix-warnings
[ios] Fixed console warnings.
This commit is contained in:
commit
86f1e4474b
1 changed files with 2 additions and 0 deletions
|
@ -101,6 +101,8 @@ UIImage * image(routing::turns::TurnDirection t, bool isNextTurn)
|
|||
imageName = isNextTurn ? nil : @"straight";
|
||||
break;
|
||||
}
|
||||
if (!imageName)
|
||||
return nil;
|
||||
return [UIImage imageNamed: isNextTurn ? [imageName stringByAppendingString:@"_then"] : imageName];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue