diff options
author | vng <viktor.govako@gmail.com> | 2012-07-09 22:48:08 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:40:49 +0300 |
commit | 6347a629357622082a9028a30840cf591761139a (patch) | |
tree | 6a291763179bf0cfbfa306de1add6e750c5f022f /iphone | |
parent | dac15d8d8634a10da66569917c348bf6ede47ecf (diff) |
Add flag for PRO version in Platform. Return meta server url for downloading due to this flag.
Diffstat (limited to 'iphone')
-rw-r--r-- | iphone/Maps/Classes/SearchVC.mm | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/iphone/Maps/Classes/SearchVC.mm b/iphone/Maps/Classes/SearchVC.mm index 78aebb5c68..80f4d4c77c 100644 --- a/iphone/Maps/Classes/SearchVC.mm +++ b/iphone/Maps/Classes/SearchVC.mm @@ -216,11 +216,7 @@ static void OnSearchResultCallback(search::Results const & res) - (BOOL)IsProVersion { - NSString * appID = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleIdentifier"]; - // .travelguide corresponds to the Lite version without search - if ([appID rangeOfString:@"com.mapswithme.travelguide"].location != NSNotFound) - return FALSE; - return TRUE; + return GetPlatform().IsPro(); } - (void)viewWillAppear:(BOOL)animated |