forked from organicmaps/organicmaps
[iOS] open hotel reviews, more info, etc. in booking app (if installed)
This commit is contained in:
parent
347daf60ea
commit
5223b6de2d
1 changed files with 3 additions and 3 deletions
|
@ -407,7 +407,7 @@ map<MetainfoRows, Class> const kMetaInfoCells = {
|
|||
case ButtonsRows::AddPlace: [delegate addPlace]; break;
|
||||
case ButtonsRows::EditPlace: [delegate editPlace]; break;
|
||||
case ButtonsRows::AddBusiness: [delegate addBusiness]; break;
|
||||
case ButtonsRows::HotelDescription: [delegate book:YES]; break;
|
||||
case ButtonsRows::HotelDescription: [delegate book:NO]; break;
|
||||
case ButtonsRows::Other: NSAssert(false, @"Incorrect row");
|
||||
}
|
||||
}];
|
||||
|
@ -492,7 +492,7 @@ map<MetainfoRows, Class> const kMetaInfoCells = {
|
|||
|
||||
[c configWithTitle:L(@"reviews_on_bookingcom")
|
||||
action:^{
|
||||
[delegate showAllReviews];
|
||||
[delegate book:NO];
|
||||
}
|
||||
isInsetButton:NO];
|
||||
return c;
|
||||
|
@ -519,7 +519,7 @@ map<MetainfoRows, Class> const kMetaInfoCells = {
|
|||
[tableView dequeueReusableCellWithCellClass:cls indexPath:indexPath]);
|
||||
[c configWithTitle:L(@"more_on_bookingcom")
|
||||
action:^{
|
||||
[delegate book:YES];
|
||||
[delegate book:NO];
|
||||
;
|
||||
}
|
||||
isInsetButton:NO];
|
||||
|
|
Loading…
Add table
Reference in a new issue