forked from organicmaps/organicmaps
[bookmarks] Fix crash caused by 'None' predefined bookmark color value MAPSME-12897
This commit is contained in:
parent
39954e3a0a
commit
80a83066ba
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ inline UIColor * UIColorForBookmarkColor(kml::PredefinedColor color)
|
|||
case kml::PredefinedColor::Gray: return UIColorForRGB(115, 115, 115);
|
||||
case kml::PredefinedColor::BlueGray: return UIColorForRGB(89, 115, 128);
|
||||
case kml::PredefinedColor::None:
|
||||
case kml::PredefinedColor::Count: UNREACHABLE(); return nil;
|
||||
case kml::PredefinedColor::Count: return UIColorForBookmarkColor(kml::PredefinedColor::Red);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue