fix: Select yearly as default subscription
This commit is contained in:
+1
-1
@@ -39,7 +39,7 @@ class SubscriptionDetailsViewController: UITableViewController {
|
|||||||
products: [EQNInAppProducts]
|
products: [EQNInAppProducts]
|
||||||
) {
|
) {
|
||||||
self.products = products
|
self.products = products
|
||||||
self.selectedProduct = products.first(where: { $0.plan == .monthly }) ?? products.first!
|
self.selectedProduct = products.first(where: { $0.plan == .yearly }) ?? products.first!
|
||||||
super.init(style: .plain)
|
super.init(style: .plain)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user