diff options
author | Alexander Boriskov <a.boriskov@corp.mail.ru> | 2019-10-18 15:09:15 +0300 |
---|---|---|
committer | Aleksey Belousov <beloal@users.noreply.github.com> | 2019-10-22 13:10:20 +0300 |
commit | 2dbdaf13a4c0615c200895b9b579208cde886d41 (patch) | |
tree | e962d9e5eb6c30a8af7df9a3e33026c8da839f37 /iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC | |
parent | 8c2620362e0784b82ca75afd6ff9ac732b0f6684 (diff) |
[iOS] Convert project to Swift 5
Diffstat (limited to 'iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC')
-rw-r--r-- | iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC/UGCAddReview/UGCAddReviewController.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC/UGCAddReview/UGCAddReviewController.swift b/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC/UGCAddReview/UGCAddReviewController.swift index 953d193aa0..95980a621f 100644 --- a/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC/UGCAddReview/UGCAddReviewController.swift +++ b/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC/UGCAddReview/UGCAddReviewController.swift @@ -43,7 +43,7 @@ final class UGCAddReviewController: MWMTableViewController { override func viewDidDisappear(_ animated: Bool) { super.viewDidDisappear(animated) - if isMovingFromParentViewController && !reviewPosted { + if isMovingFromParent && !reviewPosted { Statistics.logEvent(kStatUGCReviewCancel) } } @@ -58,7 +58,7 @@ final class UGCAddReviewController: MWMTableViewController { tableView.register(cellClass: UGCAddReviewTextCell.self) tableView.estimatedRowHeight = 48 - tableView.rowHeight = UITableViewAutomaticDimension + tableView.rowHeight = UITableView.automaticDimension } @objc private func onDone() { |