diff options
author | VladiMihaylenko <vxmihaylenko@gmail.com> | 2017-10-18 14:26:03 +0300 |
---|---|---|
committer | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2017-11-09 10:46:45 +0300 |
commit | 9aada795b9f8a3145fca398b54ad0ea8148d13e3 (patch) | |
tree | af443fe5ea973a6465ec41ad254935a3fc3415c2 /iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC | |
parent | 27d8c97091f808e3a7fc0f2b450499be2d756fb3 (diff) |
[ios] Fixed buggy transtion to ugc auth.
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 efbb78d5b7..bd2e295562 100644 --- a/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC/UGCAddReview/UGCAddReviewController.swift +++ b/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC/UGCAddReview/UGCAddReviewController.swift @@ -59,8 +59,8 @@ final class UGCAddReviewController: MWMTableViewController { nc.popViewController(animated: true) } else { let authVC = AuthorizationViewController(barButtonItem: navigationItem.rightBarButtonItem!, - completion: { nc.popViewController(animated: true) }) - nc.show(authVC, sender: self) + completion: { nc.popToRootViewController(animated: true) }) + present(authVC, animated: true, completion: nil); } } |