forked from organicmaps/organicmaps-tmp
Skip maps diff check if url is empty
Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
parent
ddd86ca461
commit
2e3f8203f6
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ NameDiffInfoMap DeserializeResponse(string const & response, LocalMapsInfo::Name
|
|||
|
||||
NameDiffInfoMap Load(LocalMapsInfo const & info)
|
||||
{
|
||||
if (info.m_localMaps.empty())
|
||||
if (info.m_localMaps.empty() || DIFF_LIST_URL[0] == 0)
|
||||
return {};
|
||||
|
||||
platform::HttpClient request(DIFF_LIST_URL);
|
||||
|
|
Loading…
Add table
Reference in a new issue