From 3207ffe56198c6a94d8f602b2599d2daad88e520 Mon Sep 17 00:00:00 2001 From: Aleksey Belouosv Date: Wed, 27 Feb 2019 16:26:36 +0300 Subject: [PATCH] [iOS] deselect manage subscription cell after selection --- iphone/Maps/UI/Settings/MWMSettingsViewController.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iphone/Maps/UI/Settings/MWMSettingsViewController.mm b/iphone/Maps/UI/Settings/MWMSettingsViewController.mm index 7e66380978..cc78a491ac 100644 --- a/iphone/Maps/UI/Settings/MWMSettingsViewController.mm +++ b/iphone/Maps/UI/Settings/MWMSettingsViewController.mm @@ -362,7 +362,7 @@ using namespace power_management; } else if (cell == self.restoreSubscriptionCell) { - self.restoreSubscriptionCell.selected = false; + [tableView deselectRowAtIndexPath:indexPath animated:YES]; [self.restoreSubscriptionCell.progress startAnimating]; self.restoringSubscription = YES; __weak auto s = self; @@ -389,6 +389,7 @@ using namespace power_management; } else if (cell == self.manageSubscriptionsCell) { + [tableView deselectRowAtIndexPath:indexPath animated:YES]; [UIApplication.sharedApplication openURL:[NSURL URLWithString:@"https://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/manageSubscriptions"] options:@{}