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:
Diffstat (limited to 'iphone/Maps/Classes/CustomAlert/Toast/MWMToast.mm')
-rw-r--r--iphone/Maps/Classes/CustomAlert/Toast/MWMToast.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/iphone/Maps/Classes/CustomAlert/Toast/MWMToast.mm b/iphone/Maps/Classes/CustomAlert/Toast/MWMToast.mm
index c3bba346a9..2c4cfca481 100644
--- a/iphone/Maps/Classes/CustomAlert/Toast/MWMToast.mm
+++ b/iphone/Maps/Classes/CustomAlert/Toast/MWMToast.mm
@@ -118,7 +118,7 @@ NSUInteger const kWordsPerSecond = 3;
[self configLayout];
UIView * ov = [UIViewController topViewController].view;
- runAsyncOnMainQueue(^{
+ dispatch_async(dispatch_get_main_queue(), ^{
[ov layoutIfNeeded];
self.bottomOffset.priority = UILayoutPriorityFittingSizeLevel;
[UIView animateWithDuration:kDefaultAnimationDuration