diff --git a/iphone/Maps/UI/Settings/MWMHelpController.mm b/iphone/Maps/UI/Settings/MWMHelpController.mm index 28a2844349..dd33f7313e 100644 --- a/iphone/Maps/UI/Settings/MWMHelpController.mm +++ b/iphone/Maps/UI/Settings/MWMHelpController.mm @@ -215,19 +215,18 @@ NSString * const kiOSEmail = @"ios@maps.me"; NSString * country = [[NSLocale localeWithLocaleIdentifier:kLocaleUsedInSupportEmails] displayNameForKey:NSLocaleCountryCode value:locale]; - NSString * bundleVersion = - [[NSBundle mainBundle] objectForInfoDictionaryKey:(NSString *)kCFBundleVersionKey]; - NSString * text = [NSString stringWithFormat:@"\n\n\n\n- %@ (%@)\n- MAPS.ME %@\n- %@/%@", + NSString * bundleVersion = [AppInfo sharedInfo].bundleVersion; + NSString * buildNumber = [AppInfo sharedInfo].buildNumber; + NSString * text = [NSString stringWithFormat:@"\n\n\n\n- %@ (%@)\n- MAPS.ME %@ (%@)\n- %@/%@", device, [UIDevice currentDevice].systemVersion, - bundleVersion, language, country]; + bundleVersion, buildNumber, language, country]; NSString * alohalyticsId = [Alohalytics installationId]; if (alohalyticsId) text = [NSString stringWithFormat:@"%@\n- %@", text, alohalyticsId]; MWMMailViewController * vc = [[MWMMailViewController alloc] init]; vc.mailComposeDelegate = self; - [vc setSubject:[NSString stringWithFormat:@"[%@ iOS] %@", [AppInfo sharedInfo].bundleVersion, - subject]]; + [vc setSubject:[NSString stringWithFormat:@"[%@ iOS] %@", bundleVersion, subject]]; [vc setMessageBody:text isHTML:NO]; [vc setToRecipients:@[ email ]]; [vc.navigationBar setTintColor:[UIColor whitePrimaryText]];