Merge pull request #14 from igrechuhin/ig-fix-warnings

[ios] Fixed console warnings.
This commit is contained in:
Vlad Mihaylenko 2015-09-24 13:48:44 +03:00
commit 86f1e4474b

View file

@ -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];
}