forked from organicmaps/organicmaps-tmp
[ios] Removed all maps action button on search in downloader.
This commit is contained in:
parent
ca6c6dc3bb
commit
6674f50c45
1 changed files with 5 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue