Merge pull request #4059 from igrechuhin/downloader

[ios] Removed download from PP when migration is required.
This commit is contained in:
Sergey Yershov 2016-08-15 17:57:31 +04:00 committed by GitHub
commit 8add28eba3

View file

@ -24,6 +24,7 @@
#include "3party/opening_hours/opening_hours.hpp"
#include "editor/opening_hours_ui.hpp"
#include "editor/ui2oh.hpp"
#include "platform/local_country_file_utils.hpp"
namespace
{
@ -275,7 +276,7 @@ using namespace storage;
- (void)configureMapDownloader
{
TCountryId const & countryId = self.entity.countryId;
if (countryId == kInvalidCountryId)
if (countryId == kInvalidCountryId || platform::migrate::NeedMigrate())
{
self.downloadProgressView.hidden = YES;
}