From ba31ab161e4e92c2fb463d9b5f5bbc6041bc76ba Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Fri, 28 Sep 2012 14:30:09 +0300 Subject: [PATCH] [ios] Fixed bug with click on zoom button for out of date country --- iphone/Maps/Settings/CountriesViewController.mm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/iphone/Maps/Settings/CountriesViewController.mm b/iphone/Maps/Settings/CountriesViewController.mm index 3f94751108..cf3b9cfeb4 100644 --- a/iphone/Maps/Settings/CountriesViewController.mm +++ b/iphone/Maps/Settings/CountriesViewController.mm @@ -118,8 +118,9 @@ static bool IsOurIndex(TIndex const & theirs, TIndex const & ours) { TIndex const index = CalculateIndex(m_index, indexPath); Framework & frm = GetFramework(); - - if (frm.GetCountryStatus(index) == EOnDisk) + + storage::TStatus const status = frm.GetCountryStatus(index); + if (status == EOnDisk || status == EOnDiskOutOfDate) { m2::RectD const bounds = frm.GetCountryBounds(index);