Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladiMihaylenko <vxmihaylenko@gmail.com>2018-08-14 11:33:37 +0300
committerRoman Kuznetsov <r.kuznetsow@gmail.com>2018-08-14 11:49:57 +0300
commit7c632c4e87bf15a69c76957dacfa71dd7af10c8c (patch)
treedc1926764a827a7ada9f5731bf3657ffbdb9ae88
parent5ccb2095808fdf70b60d69584e0920e021e4d3b0 (diff)
[release-only] removed ugc auth notification.android-gr-834
-rw-r--r--iphone/Maps/Classes/MapsAppDelegate.mm13
1 files changed, 1 insertions, 12 deletions
diff --git a/iphone/Maps/Classes/MapsAppDelegate.mm b/iphone/Maps/Classes/MapsAppDelegate.mm
index 67379faee1..1ee55ebf59 100644
--- a/iphone/Maps/Classes/MapsAppDelegate.mm
+++ b/iphone/Maps/Classes/MapsAppDelegate.mm
@@ -414,22 +414,11 @@ using namespace osm_auth_ios;
- (void)application:(UIApplication *)application
performFetchWithCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler
{
- auto onTap = ^{
- MapViewController * mapViewController = [MapViewController sharedController];
- [mapViewController.navigationController popToRootViewControllerAnimated:NO];
- [mapViewController showUGCAuth];
- };
-
- if ([LocalNotificationManager.sharedManager showUGCNotificationIfNeeded:onTap])
- {
- completionHandler(UIBackgroundFetchResultNewData);
- return;
- }
-
auto tasks = @[
[[MWMBackgroundStatisticsUpload alloc] init], [[MWMBackgroundEditsUpload alloc] init],
[[MWMBackgroundUGCUpload alloc] init], [[MWMBackgroundDownloadMapNotification alloc] init]
];
+
[self runBackgroundTasks:tasks completionHandler:completionHandler];
}