Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Scribe/AboutTab/AboutTableData.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions Scribe/AboutTab/AboutViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions Scribe/ParentTableCellModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ enum SectionState: Equatable {
case github
case matrix
case mastodon
case scribeApps
case wikimedia
case shareScribe
case rateScribe
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
Loading