mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-02-07 16:32:04 +00:00
Move full version first
This commit is contained in:
parent
6e0ad83520
commit
06d21067af
@ -52,14 +52,14 @@ class PurchaseViewController: UITableViewController, StrongTableHost {
|
|||||||
|
|
||||||
var rows: [RowType] = []
|
var rows: [RowType] = []
|
||||||
let pm = ProductManager.shared
|
let pm = ProductManager.shared
|
||||||
if let skFeature = pm.product(withIdentifier: feature) {
|
|
||||||
self.skFeature = skFeature
|
|
||||||
rows.append(.feature)
|
|
||||||
}
|
|
||||||
if let skFullVersion = pm.product(withIdentifier: .fullVersion) {
|
if let skFullVersion = pm.product(withIdentifier: .fullVersion) {
|
||||||
self.skFullVersion = skFullVersion
|
self.skFullVersion = skFullVersion
|
||||||
rows.append(.fullVersion)
|
rows.append(.fullVersion)
|
||||||
}
|
}
|
||||||
|
if let skFeature = pm.product(withIdentifier: feature) {
|
||||||
|
self.skFeature = skFeature
|
||||||
|
rows.append(.feature)
|
||||||
|
}
|
||||||
rows.append(.restore)
|
rows.append(.restore)
|
||||||
model.set(rows, forSection: .products)
|
model.set(rows, forSection: .products)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user