From ebbc715bb295f46a6ccdb193c1e92d0013f2b856 Mon Sep 17 00:00:00 2001 From: Aleksey Belouosv Date: Tue, 26 Feb 2019 12:53:52 +0300 Subject: [PATCH] [iOS] fix open app by tapping on review notification --- iphone/Maps/Core/Notifications/CoreNotificationWrapper.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iphone/Maps/Core/Notifications/CoreNotificationWrapper.mm b/iphone/Maps/Core/Notifications/CoreNotificationWrapper.mm index 2a049bddfd..aefe4bff02 100644 --- a/iphone/Maps/Core/Notifications/CoreNotificationWrapper.mm +++ b/iphone/Maps/Core/Notifications/CoreNotificationWrapper.mm @@ -60,7 +60,7 @@ static NSString *const kReadableName = @"readableName"; } - (notifications::NotificationCandidate)notificationCandidate { - notifications::NotificationCandidate nc; + notifications::NotificationCandidate nc(notifications::NotificationCandidate::Type::UgcReview); nc.SetDefaultName(self.defaultName.UTF8String); nc.SetBestFeatureType(self.bestType.UTF8String); nc.SetPos(m2::PointD(self.x, self.y));