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
path: root/iphone
diff options
context:
space:
mode:
authorVladiMihaylenko <vxmihaylenko@gmail.com>2016-10-28 17:55:06 +0300
committerVladiMihaylenko <vxmihaylenko@gmail.com>2016-10-28 17:55:06 +0300
commit27cd92130a7cb72f08574dcc6fbc3033787e1fbf (patch)
treed074bf317786d0e3580315caa4bdd8b8eddf5c9f /iphone
parenta85cd17c3e1f9e29a4343b30d7555e2cf1122628 (diff)
[ios] Fixed recursion in MWMBookmarkCell.
Diffstat (limited to 'iphone')
-rw-r--r--iphone/Maps/Classes/MWMBookmarkCell.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/iphone/Maps/Classes/MWMBookmarkCell.mm b/iphone/Maps/Classes/MWMBookmarkCell.mm
index ab7b2efcf7..cf377a7985 100644
--- a/iphone/Maps/Classes/MWMBookmarkCell.mm
+++ b/iphone/Maps/Classes/MWMBookmarkCell.mm
@@ -66,7 +66,7 @@ NSString * const kTextViewContentSizeKeyPath = @"contentSize";
auto const height = s.CGSizeValue.height;
auto const boundedHeight = self.textViewHeight.constant;
- if (height <= boundedHeight || self.isOpen)
+ if (height < boundedHeight || self.isOpen)
[self stateOpen:YES];
else
[self stateOpen:NO];