[ios] Fixed recursion in MWMBookmarkCell.

This commit is contained in:
VladiMihaylenko 2016-10-28 17:55:06 +03:00
parent a85cd17c3e
commit 27cd92130a

View file

@ -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];