Skip to content

Commit

Permalink
Add YouTube channel URL to About screen (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
steinbro authored Jun 5, 2024
1 parent 25e457b commit a969623
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions apps/ios/GuideDogs/Code/App/AppContext.swift
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,10 @@ extension AppContext {
return URL(string: "https://soundscape.services")!
}

static func youtubeURL(for locale: Locale) -> URL {
return URL(string: "https://www.youtube.com/@SoundscapeCommunity")!
}

static let companySupportURL = URL(string: "https://discord.gg/XakpNsVMBZ")!

static let accessibilityFrance = URL(string: "https://soundscape.services")!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ class AboutApplicationViewController: BaseTableViewController {
AboutLinkCellModel(localizedTitle: GDLocalizedString("settings.about.title.whats_new"), segue: "ShowVersionHistorySegue"),
AboutLinkCellModel(localizedTitle: GDLocalizationUnnecessary("Privacy Policy"), url: AppContext.Links.privacyPolicyURL(for: LocalizationContext.currentAppLocale), event: "about.privacy_policy"),
AboutLinkCellModel(localizedTitle: GDLocalizationUnnecessary("Services Agreement"), url: AppContext.Links.servicesAgreementURL(for: LocalizationContext.currentAppLocale), event: "about.services_agreement"),
AboutLinkCellModel(localizedTitle: GDLocalizedString("settings.about.title.copyright"), segue: "ShowThirdPartyNoticesSegue")
AboutLinkCellModel(localizedTitle: GDLocalizedString("settings.about.title.copyright"), segue: "ShowThirdPartyNoticesSegue"),
AboutLinkCellModel(localizedTitle: GDLocalizationUnnecessary("YouTube Channel"), url: AppContext.Links.youtubeURL(for: LocalizationContext.currentAppLocale), event: "about.youtube_channel")
]

if LocalizationContext.currentAppLocale == Locale.frFr {
Expand Down

0 comments on commit a969623

Please sign in to comment.