From 5f33c204cc77066f89ae9cc881906eea27a83ffe Mon Sep 17 00:00:00 2001 From: "r.kuznetsov" Date: Wed, 21 Feb 2018 12:39:06 +0300 Subject: Review fixes --- storage/storage.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'storage') diff --git a/storage/storage.cpp b/storage/storage.cpp index 5e6f00ca7a..ae40df96c9 100644 --- a/storage/storage.cpp +++ b/storage/storage.cpp @@ -293,6 +293,12 @@ void Storage::RegisterAllLocalMaps(bool enableDiffs) i = j; } + if (minVersion > maxVersion) + { + minVersion = 0; + maxVersion = 0; + } + GetPlatform().GetMarketingService().SendPushWooshTag(marketing::kMapVersionMin, strings::to_string(minVersion)); GetPlatform().GetMarketingService().SendPushWooshTag(marketing::kMapVersionMax, -- cgit v1.2.3