[new downloader] Review fixes.

This commit is contained in:
Vladimir Byko-Ianko 2016-03-03 13:55:46 +03:00 committed by Sergey Yershov
parent 5c17a529f1
commit a14971c01b

View file

@ -68,9 +68,7 @@ using namespace storage;
TCountryId const countryId = notificationCountryId.UTF8String;
[MWMStorage downloadNode:countryId alertController:mapViewController.alertController onSuccess:^
{
auto & f = GetFramework();
double const defaultZoom = 10;
f.ShowRect(CalcLimitRect(countryId, f.Storage(), f.CountryInfoGetter()));
GetFramework().ShowNode(countryId);
}];
}
}