Move full version first

This commit is contained in:
Davide De Rosa 2019-11-09 18:05:21 +01:00
parent 6e0ad83520
commit 06d21067af

View File

@ -52,14 +52,14 @@ class PurchaseViewController: UITableViewController, StrongTableHost {
var rows: [RowType] = []
let pm = ProductManager.shared
if let skFeature = pm.product(withIdentifier: feature) {
self.skFeature = skFeature
rows.append(.feature)
}
if let skFullVersion = pm.product(withIdentifier: .fullVersion) {
self.skFullVersion = skFullVersion
rows.append(.fullVersion)
}
if let skFeature = pm.product(withIdentifier: feature) {
self.skFeature = skFeature
rows.append(.feature)
}
rows.append(.restore)
model.set(rows, forSection: .products)