chore: update mastodon repo link

This commit is contained in:
CMK 2021-07-12 14:39:51 +08:00
parent a41f1c2b5d
commit 26dbb434f0
1 changed files with 2 additions and 2 deletions

View File

@ -197,7 +197,7 @@ class SettingsViewController: UIViewController, NeedsDependency {
.sink { [weak self] instance in .sink { [weak self] instance in
guard let self = self else { return } guard let self = self else { return }
let version = instance?.version ?? "-" let version = instance?.version ?? "-"
let link = #"<a href="https://github.com/tootsuite/mastodon">tootsuite/mastodon</a>"# let link = #"<a href="https://github.com/mastodon/mastodon">mastodon/mastodon</a>"#
let content = L10n.Scene.Settings.Footer.mastodonDescription(link, version) let content = L10n.Scene.Settings.Footer.mastodonDescription(link, version)
self.tableFooterActiveLabel.configure(content: content, emojiDict: [:]) self.tableFooterActiveLabel.configure(content: content, emojiDict: [:])
} }
@ -530,7 +530,7 @@ extension SettingsViewController: SettingsToggleCellDelegate {
extension SettingsViewController: ActiveLabelDelegate { extension SettingsViewController: ActiveLabelDelegate {
func activeLabel(_ activeLabel: ActiveLabel, didSelectActiveEntity entity: ActiveEntity) { func activeLabel(_ activeLabel: ActiveLabel, didSelectActiveEntity entity: ActiveEntity) {
coordinator.present( coordinator.present(
scene: .safari(url: URL(string: "https://github.com/tootsuite/mastodon")!), scene: .safari(url: URL(string: "https://github.com/mastodon/mastodon")!),
from: self, from: self,
transition: .safariPresent(animated: true, completion: nil) transition: .safariPresent(animated: true, completion: nil)
) )