[ios] Removed all maps action button on search in downloader.

This commit is contained in:
Ilya Grechuhin 2016-04-26 12:08:13 +03:00
parent ca6c6dc3bb
commit 6674f50c45

View file

@ -263,11 +263,13 @@ using namespace mwm;
- (void)configAllMapsView
{
if (self.dataSource != self.defaultDataSource)
return;
auto const & s = GetFramework().Storage();
TCountryId const parentCountryId = self.parentCountryId.UTF8String;
if (self.mode == DownloaderMode::Downloaded)
if (self.dataSource != self.defaultDataSource)
{
self.showAllMapsButtons = NO;
}
else if (self.mode == DownloaderMode::Downloaded)
{
Storage::UpdateInfo updateInfo{};
s.GetUpdateInfo(parentCountryId, updateInfo);