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:
authorv.mikhaylenko <v.mikhaylenko@corp.mail.ru>2015-09-04 16:25:06 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 03:03:48 +0300
commit98a51d6c07614eb6bc35c94a2bf87ea8ca9f8916 (patch)
treee9cf3eaa347d2d14b5975b94bf3e08aca3b5025e /iphone/Maps/Classes/MWMBookmarkDescriptionViewController.mm
parent747cdb28dc393b779958eb5d5a16db149164742b (diff)
[ios] Replace all animation duration to default.
Diffstat (limited to 'iphone/Maps/Classes/MWMBookmarkDescriptionViewController.mm')
-rw-r--r--iphone/Maps/Classes/MWMBookmarkDescriptionViewController.mm7
1 files changed, 4 insertions, 3 deletions
diff --git a/iphone/Maps/Classes/MWMBookmarkDescriptionViewController.mm b/iphone/Maps/Classes/MWMBookmarkDescriptionViewController.mm
index 5a34d9b097..b187826dd8 100644
--- a/iphone/Maps/Classes/MWMBookmarkDescriptionViewController.mm
+++ b/iphone/Maps/Classes/MWMBookmarkDescriptionViewController.mm
@@ -6,6 +6,7 @@
// Copyright (c) 2015 MapsWithMe. All rights reserved.
//
+#import "Common.h"
#import "MWMBookmarkDescriptionViewController.h"
#import "MWMPlacePageViewManager.h"
#import "MWMPlacePage.h"
@@ -106,7 +107,7 @@ typedef NS_ENUM(NSUInteger, BookmarkDescriptionState)
{
self.textView.hidden = NO;
self.textView.text = text;
- [UIView animateWithDuration:0.2f animations:^
+ [UIView animateWithDuration:kDefaultAnimationDuration animations:^
{
self.webView.alpha = 0.;
self.textView.alpha = 1.;
@@ -122,7 +123,7 @@ typedef NS_ENUM(NSUInteger, BookmarkDescriptionState)
{
self.webView.hidden = NO;
[self.webView loadHTMLString:text baseURL:nil];
- [UIView animateWithDuration:0.2f animations:^
+ [UIView animateWithDuration:kDefaultAnimationDuration animations:^
{
self.webView.alpha = 1.;
self.textView.alpha = 0.;
@@ -193,7 +194,7 @@ typedef NS_ENUM(NSUInteger, BookmarkDescriptionState)
return;
}
[self.iPadOwnerNavigationController setNavigationBarHidden:YES];
- [UIView animateWithDuration:0.1 animations:^
+ [UIView animateWithDuration:kDefaultAnimationDuration animations:^
{
self.iPadOwnerNavigationController.view.height = self.realPlacePageHeight;
}