From 029e31413581a9426f1c0e52ca31db71ad14d9a2 Mon Sep 17 00:00:00 2001 From: VladiMihaylenko Date: Mon, 31 Oct 2016 12:03:48 +0300 Subject: [PATCH] [ios] Fixed strange taxi cell's behavior while it appears. --- .../Views/RoutePreview/MWMTaxiPreviewCell.mm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/iphone/Maps/Classes/CustomViews/NavigationDashboard/Views/RoutePreview/MWMTaxiPreviewCell.mm b/iphone/Maps/Classes/CustomViews/NavigationDashboard/Views/RoutePreview/MWMTaxiPreviewCell.mm index b88e200314..2f5aa87aea 100644 --- a/iphone/Maps/Classes/CustomViews/NavigationDashboard/Views/RoutePreview/MWMTaxiPreviewCell.mm +++ b/iphone/Maps/Classes/CustomViews/NavigationDashboard/Views/RoutePreview/MWMTaxiPreviewCell.mm @@ -16,6 +16,12 @@ @implementation MWMTaxiPreviewCell +- (void)awakeFromNib +{ + [super awakeFromNib]; + [self.icon layoutIfNeeded]; +} + - (void)configWithProduct:(uber::Product const &)product; { self.product.text = @(product.m_name.c_str());