forked from organicmaps/organicmaps-tmp
[ios] Keep offline booking price if online is empty.
This commit is contained in:
parent
0f7d540fac
commit
75ded8876d
1 changed files with 2 additions and 0 deletions
|
@ -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:^
|
||||
|
|
Loading…
Add table
Reference in a new issue