In-app purchase

This commit is contained in:
Hillel Coren 2022-10-12 19:18:48 +03:00
parent 2815182aa0
commit 1197e9650d
1 changed files with 1 additions and 10 deletions

View File

@ -215,17 +215,8 @@ class _UpgradeDialogState extends State<UpgradeDialog> {
(ProductDetails productDetails) {
final PurchaseDetails previousPurchase = purchases[productDetails.id];
String description = productDetails.description;
// TODO remove this code
// Workaround for product in app store with blank values
if (description.isEmpty &&
productDetails.id == kProductEnterprisePlanMonth_10) {
description = 'One month of the Enterprise Plan (10 users)';
}
return ListTile(
title: Text(description),
title: Text(productDetails.description),
subtitle: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [