diff --git a/iphone/Maps/Classes/CustomViews/MapViewControls/TrafficButton/MWMTrafficButtonViewController.mm b/iphone/Maps/Classes/CustomViews/MapViewControls/TrafficButton/MWMTrafficButtonViewController.mm index 4f886491fa..13e8fd36d5 100644 --- a/iphone/Maps/Classes/CustomViews/MapViewControls/TrafficButton/MWMTrafficButtonViewController.mm +++ b/iphone/Maps/Classes/CustomViews/MapViewControls/TrafficButton/MWMTrafficButtonViewController.mm @@ -57,17 +57,12 @@ NSArray * imagesWithName(NSString * name) [ovc addChildViewController:self]; [ovc.view addSubview:self.view]; [self configLayout]; + [self refreshAppearance]; [MWMTrafficManager addObserver:self]; } return self; } -- (void)viewWillAppear:(BOOL)animated -{ - [super viewWillAppear:animated]; - [self refreshAppearance]; -} - - (void)configLayout { UIView * sv = self.view;