File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -589,18 +589,14 @@ - (void) buildRows:(NSMutableArray<OARowInfo *> *)rows
589589 }
590590 [list addObject: poiType];
591591 }
592- else if ([convertedKey hasPrefix: US_MAPS_RECREATION_AREA])
592+ else
593593 {
594- NSString *translatedUsMapsKey = [_poiHelper getTranslation: convertedKey];
595- if (translatedUsMapsKey .length > 0 )
596- textPrefix = translatedUsMapsKey ;
594+ NSString *translatedKey = [_poiHelper getTranslation: convertedKey];
595+ if (translatedKey .length > 0 )
596+ textPrefix = translatedKey ;
597597 else
598598 textPrefix = [OAUtilities capitalizeFirstLetter: convertedKey];
599599 }
600- else
601- {
602- textPrefix = convertedKey.capitalizedString ;
603- }
604600 }
605601
606602 NSArray <NSString *> *formattedPrefixAndText = [self getFormattedPrefixAndText: convertedKey prefix: textPrefix value: vl amenity: self .poi];
You can’t perform that action at this time.
0 commit comments