[ios] Changed statistics tags representation.

This commit is contained in:
VladiMihaylenko 2016-12-15 10:40:11 +03:00 committed by Vladimir Byko-Ianko
parent 20fcd85dbe
commit 7eb232954b
2 changed files with 3 additions and 3 deletions

View file

@ -120,7 +120,7 @@ enum class OpeningHours
- (m2::PointD const &)mercator;
- (ms::LatLon)latLon;
- (NSArray<NSString *> *)statisticsTags;
- (NSString *)statisticsTags;
// TODO(Vlad): Use MWMSettings to store coordinate format.
+ (void)toggleCoordinateSystem;

View file

@ -386,12 +386,12 @@ using namespace place_page;
#pragma mark - Stats
- (NSArray<NSString *> *)statisticsTags
- (NSString *)statisticsTags
{
NSMutableArray<NSString *> * result = [@[] mutableCopy];
for (auto const & s : m_info.GetRawTypes())
[result addObject:@(s.c_str())];
return result.copy;
return [result componentsJoinedByString:@", "];
}
@end