[ios] Keep offline booking price if online is empty.

This commit is contained in:
VladiMihaylenko 2016-06-10 13:42:26 +03:00 committed by Vladimir Byko-Ianko
parent 0f7d540fac
commit 75ded8876d

View file

@ -235,6 +235,8 @@ using namespace storage;
self.bookingPriceLabel.text = entity.bookingPrice;
[entity onlinePricingWithCompletionBlock:^
{
if (!entity.bookingOnlinePrice.length)
return;
self.bookingPriceLabel.text = entity.bookingOnlinePrice;
[self setNeedsLayout];
[UIView animateWithDuration:kDefaultAnimationDuration animations:^