diff options
author | Aleksey Belouosv <aleksey@maps.me> | 2019-02-27 16:26:36 +0300 |
---|---|---|
committer | Aleksey Belousov <beloal@users.noreply.github.com> | 2019-03-01 18:28:21 +0300 |
commit | 3207ffe56198c6a94d8f602b2599d2daad88e520 (patch) | |
tree | b73efc40d1dc294bd16e82e06600640f2c5b5273 /iphone | |
parent | 99d8e2cf61558c9e2dcb52cb5003c7df17af4e9c (diff) |
[iOS] deselect manage subscription cell after selection
Diffstat (limited to 'iphone')
-rw-r--r-- | iphone/Maps/UI/Settings/MWMSettingsViewController.mm | 3 |
1 files changed, 2 insertions, 1 deletions
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:@{} |