mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-21 05:43:37 +00:00
More rebranding including the team identifier, url scheme, and links on about screen
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
committed by
Konstantin Pastbin
parent
d4e1d53c40
commit
074d443f0f
@@ -291,7 +291,7 @@ private extension AboutController {
|
||||
}
|
||||
|
||||
func buildSocialMediaCollectionViewData() -> [SocialMediaCollectionViewCellModel] {
|
||||
let socialMediaContent: [SocialMedia] = [.telegram, .codeberg, .instagram, .bluesky, .linkedin, .CoMapsEmail, .lemmy, .matrix, .facebook, .fosstodon]
|
||||
let socialMediaContent: [SocialMedia] = [.telegram, .codeberg, .instagram, .bluesky, .linkedin, .email, .lemmy, .matrix, .facebook, .fosstodon]
|
||||
let data = socialMediaContent.map { [weak self] socialMedia in
|
||||
return SocialMediaCollectionViewCellModel(image: socialMedia.image, didTapHandler: {
|
||||
switch socialMedia {
|
||||
@@ -305,7 +305,7 @@ private extension AboutController {
|
||||
case .instagram: fallthrough
|
||||
case .linkedin:
|
||||
self?.openUrl(socialMedia.link, externally: true)
|
||||
case .CoMapsEmail:
|
||||
case .email:
|
||||
MailComposer.sendEmail(toRecipients: [socialMedia.link])
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user