mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-30 03:19:11 +08:00
PurchaseScreen: Only show monthly offerings
This commit is contained in:
@ -45,6 +45,7 @@ class _PurchaseScreenState extends State<PurchaseScreen> {
|
||||
}
|
||||
}
|
||||
var offeringList = offerings.all.values.toList();
|
||||
offeringList.retainWhere((Offering o) => o.identifier.contains("monthly"));
|
||||
offeringList.sort((Offering a, Offering b) =>
|
||||
a.monthly.product.price.compareTo(b.monthly.product.price));
|
||||
print("Offerings: $offeringList");
|
||||
|
Reference in New Issue
Block a user