mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-23 22:53:43 +00:00
[android][ios] Remove Kayak links
Signed-off-by: Harry bond <me@hbond.xyz>
This commit is contained in:
committed by
Konstantin Pastbin
parent
017a5c6cab
commit
70ed37b648
@@ -77,7 +77,6 @@ protocol PlacePageInfoViewControllerDelegate: AnyObject {
|
||||
func didPressCall()
|
||||
func didPressWebsite()
|
||||
func didPressWebsiteMenu()
|
||||
func didPressKayak()
|
||||
func didPressWikipedia()
|
||||
func didPressWikimediaCommons()
|
||||
func didPressFacebook()
|
||||
@@ -107,7 +106,6 @@ class PlacePageInfoViewController: UIViewController {
|
||||
private var phoneView: InfoItemViewController?
|
||||
private var websiteView: InfoItemViewController?
|
||||
private var websiteMenuView: InfoItemViewController?
|
||||
private var kayakView: InfoItemViewController?
|
||||
private var wikipediaView: InfoItemViewController?
|
||||
private var wikimediaCommonsView: InfoItemViewController?
|
||||
private var emailView: InfoItemViewController?
|
||||
@@ -344,18 +342,6 @@ class PlacePageInfoViewController: UIViewController {
|
||||
})
|
||||
}
|
||||
|
||||
if let kayak = placePageInfoData.kayak {
|
||||
kayakView = createInfoItem(L("more_on_kayak"),
|
||||
icon: UIImage(named: "ic_placepage_kayak"),
|
||||
style: .link,
|
||||
tapHandler: { [weak self] in
|
||||
self?.delegate?.didPressKayak()
|
||||
},
|
||||
longPressHandler: { [weak self] in
|
||||
self?.delegate?.didCopy(kayak)
|
||||
})
|
||||
}
|
||||
|
||||
setupCoordinatesView()
|
||||
setupOpenWithAppView()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user