mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-21 05:43:37 +00:00
Rebranded the app for iOS
This commit is contained in:
committed by
Konstantin Pastbin
parent
51b669cfd1
commit
d4e1d53c40
@@ -277,7 +277,7 @@ private extension AboutController {
|
||||
case .faq:
|
||||
self?.navigationController?.pushViewController(FaqController(), animated: true)
|
||||
case .reportABug:
|
||||
MailComposer.sendBugReportWith(title:"Organic Maps Bug Report")
|
||||
MailComposer.sendBugReportWith(title:"CoMaps Bug Report")
|
||||
case .reportMapDataProblem, .volunteer, .news:
|
||||
self?.openUrl(aboutInfo.link)
|
||||
case .rateTheApp:
|
||||
@@ -291,21 +291,21 @@ private extension AboutController {
|
||||
}
|
||||
|
||||
func buildSocialMediaCollectionViewData() -> [SocialMediaCollectionViewCellModel] {
|
||||
let socialMediaContent: [SocialMedia] = [.telegram, .github, .instagram, .twitter, .linkedin, .organicMapsEmail, .reddit, .matrix, .facebook, .fosstodon]
|
||||
let socialMediaContent: [SocialMedia] = [.telegram, .codeberg, .instagram, .bluesky, .linkedin, .CoMapsEmail, .lemmy, .matrix, .facebook, .fosstodon]
|
||||
let data = socialMediaContent.map { [weak self] socialMedia in
|
||||
return SocialMediaCollectionViewCellModel(image: socialMedia.image, didTapHandler: {
|
||||
switch socialMedia {
|
||||
case .telegram: fallthrough
|
||||
case .github: fallthrough
|
||||
case .reddit: fallthrough
|
||||
case .codeberg: fallthrough
|
||||
case .lemmy: fallthrough
|
||||
case .matrix: fallthrough
|
||||
case .fosstodon: fallthrough
|
||||
case .facebook: fallthrough
|
||||
case .twitter: fallthrough
|
||||
case .bluesky: fallthrough
|
||||
case .instagram: fallthrough
|
||||
case .linkedin:
|
||||
self?.openUrl(socialMedia.link, externally: true)
|
||||
case .organicMapsEmail:
|
||||
case .CoMapsEmail:
|
||||
MailComposer.sendEmail(toRecipients: [socialMedia.link])
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user