diff --git a/Scribe/AboutTab/AboutTableData.swift b/Scribe/AboutTab/AboutTableData.swift index 57ee48e0..a5333894 100644 --- a/Scribe/AboutTab/AboutTableData.swift +++ b/Scribe/AboutTab/AboutTableData.swift @@ -29,18 +29,18 @@ struct AboutTableData { sectionState: .mastodon, externalLink: true ), + Section( + sectionTitle: NSLocalizedString("i18n.app.about.community.visit_website", value: "Visit the Scribe website", comment: ""), + imageString: "globe", + sectionState: .scribeApps, + externalLink: true + ), Section( sectionTitle: NSLocalizedString("i18n.app.about.community.share_scribe", value: "Share Scribe", comment: ""), imageString: "square.and.arrow.up", sectionState: .shareScribe, externalLink: true ), -// Section( -// sectionTitle: NSLocalizedString("i18n.app.about.community.view_apps", value: "View all Scribe apps", comment: ""), -// imageString: "scribeIcon", -// sectionState: .scribeApps, -// externalLink: true -// ), Section( sectionTitle: NSLocalizedString("i18n.app.about.community.wikimedia", value: "Wikimedia and Scribe", diff --git a/Scribe/AboutTab/AboutViewController.swift b/Scribe/AboutTab/AboutViewController.swift index 32b5de84..0cbe32de 100644 --- a/Scribe/AboutTab/AboutViewController.swift +++ b/Scribe/AboutTab/AboutViewController.swift @@ -100,6 +100,9 @@ extension AboutViewController { case .mastodon: openURLString(urlString: "https://wikis.world/@scribe", withEncoding: false) + case .scribeApps: + openURLString(urlString: "https://scri.be/", withEncoding: false) + case .wikimedia: if let viewController = storyboard?.instantiateViewController( identifier: "InformationScreenVC" diff --git a/Scribe/ParentTableCellModel.swift b/Scribe/ParentTableCellModel.swift index 3b08a1ca..58d21d56 100644 --- a/Scribe/ParentTableCellModel.swift +++ b/Scribe/ParentTableCellModel.swift @@ -45,6 +45,7 @@ enum SectionState: Equatable { case github case matrix case mastodon + case scribeApps case wikimedia case shareScribe case rateScribe diff --git a/Scribe/Views/Cells/UITableViewCells/AboutTableViewCell.swift b/Scribe/Views/Cells/UITableViewCells/AboutTableViewCell.swift index 31002aa9..5e30b601 100644 --- a/Scribe/Views/Cells/UITableViewCells/AboutTableViewCell.swift +++ b/Scribe/Views/Cells/UITableViewCells/AboutTableViewCell.swift @@ -59,6 +59,7 @@ final class AboutTableViewCell: UITableViewCell { if let icon = section.imageString { iconImageView.image = UIImage.availableIconImage(with: icon) + iconImageView.contentMode = .scaleAspectFit } else { iconImageView.image = nil } diff --git a/Scribe/i18n b/Scribe/i18n index ae208d79..ec4bc4ae 160000 --- a/Scribe/i18n +++ b/Scribe/i18n @@ -1 +1 @@ -Subproject commit ae208d79c7e18304cd5641747096529ba2b7fd5c +Subproject commit ec4bc4ae90fb7d0e105b580f325bebfd8470ba2c