[ios] Fixed 4167

This commit is contained in:
VladiMihaylenko 2017-04-07 14:25:06 +03:00 committed by Ilya Grechuhin
parent 10e78850b3
commit 5c8927e639

View file

@ -1089,13 +1089,13 @@ void registerCellsForTableView(vector<MWMPlacePageCellType> const & cells, UITab
if ([ud boolForKey:kUDEditorPersonalInfoWarninWasShown])
return NO;
[ud setBool:YES forKey:kUDEditorPersonalInfoWarninWasShown];
[ud synchronize];
[self.alertController presentPersonalInfoWarningAlertWithBlock:^
{
[ud setBool:YES forKey:kUDEditorPersonalInfoWarninWasShown];
[ud synchronize];
[self onSave];
}];
return YES;
}