[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:
David Martinez 2022-07-24 13:37:46 +02:00 committed by Viktor Govako
parent 0f64927f7d
commit c2eefed607

View file

@ -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()
}
}