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:
authorAlexander Boriskov <a.boriskov@corp.mail.ru>2019-10-18 15:09:15 +0300
committerAleksey Belousov <beloal@users.noreply.github.com>2019-10-22 13:10:20 +0300
commit2dbdaf13a4c0615c200895b9b579208cde886d41 (patch)
treee962d9e5eb6c30a8af7df9a3e33026c8da839f37 /iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC
parent8c2620362e0784b82ca75afd6ff9ac732b0f6684 (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.swift4
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() {