Add more support URLs
This commit is contained in:
parent
ad9f1b625d
commit
e8c838c2e1
|
@ -78,6 +78,8 @@ class OrganizerViewController: UITableViewController, StrongTableHost {
|
||||||
if ProductManager.shared.isEligibleForFeedback() {
|
if ProductManager.shared.isEligibleForFeedback() {
|
||||||
feedbackRows.append(.writeReview)
|
feedbackRows.append(.writeReview)
|
||||||
}
|
}
|
||||||
|
feedbackRows.append(.visitAlternativeTo)
|
||||||
|
feedbackRows.append(.visitProductHunt)
|
||||||
model.set(feedbackRows, forSection: .feedback)
|
model.set(feedbackRows, forSection: .feedback)
|
||||||
|
|
||||||
model.set([.openAbout], forSection: .about)
|
model.set([.openAbout], forSection: .about)
|
||||||
|
@ -435,6 +437,10 @@ extension OrganizerViewController {
|
||||||
|
|
||||||
case writeReview
|
case writeReview
|
||||||
|
|
||||||
|
case visitAlternativeTo
|
||||||
|
|
||||||
|
case visitProductHunt
|
||||||
|
|
||||||
case openAbout
|
case openAbout
|
||||||
|
|
||||||
case uninstall
|
case uninstall
|
||||||
|
@ -525,6 +531,16 @@ extension OrganizerViewController {
|
||||||
cell.leftText = L10n.Core.Organizer.Cells.WriteReview.caption
|
cell.leftText = L10n.Core.Organizer.Cells.WriteReview.caption
|
||||||
return cell
|
return cell
|
||||||
|
|
||||||
|
case .visitAlternativeTo:
|
||||||
|
let cell = Cells.setting.dequeue(from: tableView, for: indexPath)
|
||||||
|
cell.leftText = "AlternativeTo"
|
||||||
|
return cell
|
||||||
|
|
||||||
|
case .visitProductHunt:
|
||||||
|
let cell = Cells.setting.dequeue(from: tableView, for: indexPath)
|
||||||
|
cell.leftText = "ProductHunt"
|
||||||
|
return cell
|
||||||
|
|
||||||
case .openAbout:
|
case .openAbout:
|
||||||
let cell = Cells.setting.dequeue(from: tableView, for: indexPath)
|
let cell = Cells.setting.dequeue(from: tableView, for: indexPath)
|
||||||
cell.leftText = L10n.Core.Organizer.Cells.About.caption(GroupConstants.App.name)
|
cell.leftText = L10n.Core.Organizer.Cells.About.caption(GroupConstants.App.name)
|
||||||
|
@ -585,6 +601,12 @@ extension OrganizerViewController {
|
||||||
case .writeReview:
|
case .writeReview:
|
||||||
writeReview()
|
writeReview()
|
||||||
|
|
||||||
|
case .visitAlternativeTo:
|
||||||
|
visitURL(AppConstants.URLs.alternativeTo)
|
||||||
|
|
||||||
|
case .visitProductHunt:
|
||||||
|
visitURL(AppConstants.URLs.productHunt)
|
||||||
|
|
||||||
case .openAbout:
|
case .openAbout:
|
||||||
about()
|
about()
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit dad47f3581ab25d966d204de93634d82b9fe808b
|
Subproject commit beda7086d31d8ebe531ac4f5776aa62bca6838ea
|
Loading…
Reference in New Issue