Browse Source

Use follow intent for twitter link!

pull/101/head
Abhishek 3 years ago
parent
commit
b4359e34bc
  1. 2
      Clocker/Onboarding/FinalOnboardingViewController.swift
  2. 1
      Clocker/Preferences/About/AboutViewController.swift

2
Clocker/Onboarding/FinalOnboardingViewController.swift

@ -70,7 +70,7 @@ class FinalOnboardingViewController: NSViewController {
}
@IBAction func localizationAction(_: Any) {
guard let localizationURL = URL(string: AboutUsConstants.TwitterLink),
guard let localizationURL = URL(string: AboutUsConstants.TwitterFollowIntentLink),
let languageCode = Locale.preferredLanguages.first else { return }
NSWorkspace.shared.open(localizationURL)

1
Clocker/Preferences/About/AboutViewController.swift

@ -8,6 +8,7 @@ struct AboutUsConstants {
static let GitHubURL = "https://github.com/abhishekbanthia/Clocker/?ref=ClockerApp"
static let PayPalURL = "https://paypal.me/abhishekbanthia1712"
static let TwitterLink = "https://twitter.com/clocker_support/?ref=ClockerApp"
static let TwitterFollowIntentLink = "https://twitter.com/intent/follow?screen_name=clocker_support"
static let AppStoreLink = "macappstore://itunes.apple.com/us/app/clocker/id1056643111?action=write-review"
static let CrowdInLocalizationLink = "https://crwd.in/clocker"
}

Loading…
Cancel
Save