forked from organicmaps/organicmaps-tmp
[ios] add @ symbol in front of social login name
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
This commit is contained in:
parent
0f64927f7d
commit
c2eefed607
1 changed files with 4 additions and 4 deletions
|
@ -132,25 +132,25 @@ class PlacePageInfoViewController: UIViewController {
|
|||
}
|
||||
|
||||
if let facebook = placePageInfoData.facebook {
|
||||
facebookView = createInfoItem(facebook, icon: UIImage(named: "ic_placepage_facebook"), style: .link) { [weak self] in
|
||||
facebookView = createInfoItem("@" + facebook, icon: UIImage(named: "ic_placepage_facebook"), style: .link) { [weak self] in
|
||||
self?.delegate?.didPressFacebook()
|
||||
}
|
||||
}
|
||||
|
||||
if let instagram = placePageInfoData.instagram {
|
||||
instagramView = createInfoItem(instagram, icon: UIImage(named: "ic_placepage_instagram"), style: .link) { [weak self] in
|
||||
instagramView = createInfoItem("@" + instagram, icon: UIImage(named: "ic_placepage_instagram"), style: .link) { [weak self] in
|
||||
self?.delegate?.didPressInstagram()
|
||||
}
|
||||
}
|
||||
|
||||
if let twitter = placePageInfoData.twitter {
|
||||
twitterView = createInfoItem(twitter, icon: UIImage(named: "ic_placepage_twitter"), style: .link) { [weak self] in
|
||||
twitterView = createInfoItem("@" + twitter, icon: UIImage(named: "ic_placepage_twitter"), style: .link) { [weak self] in
|
||||
self?.delegate?.didPressTwitter()
|
||||
}
|
||||
}
|
||||
|
||||
if let vk = placePageInfoData.vk {
|
||||
vkView = createInfoItem(vk, icon: UIImage(named: "ic_placepage_vk"), style: .link) { [weak self] in
|
||||
vkView = createInfoItem("@" + vk, icon: UIImage(named: "ic_placepage_vk"), style: .link) { [weak self] in
|
||||
self?.delegate?.didPressVk()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue