diff --git a/android/gradle.properties b/android/gradle.properties index ba61cee..dbe2e13 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -1,4 +1,4 @@ -org.gradle.jvmargs=-Xmx2g +org.gradle.jvmargs=-Xmx1g org.gradle.daemon=true org.gradle.caching=true android.useAndroidX=true diff --git a/lib/pages/purchase.page.dart b/lib/pages/purchase.page.dart index 84d3329..d60877a 100644 --- a/lib/pages/purchase.page.dart +++ b/lib/pages/purchase.page.dart @@ -63,7 +63,18 @@ class _PurchasePageState extends State { } List _buildProducts() { - List productWidgets = []; + List productWidgets = [ + Card( + child: Padding( + padding: EdgeInsets.all(15), + child: Text( + 'This will not unlock any additional functionality. This is only a donation to the HA Client open source project.', + style: Theme.of(context).textTheme.headline5, + textAlign: TextAlign.center, + ) + ) + ) + ]; for (ProductDetails product in _products) { productWidgets.add( ProductPurchase( diff --git a/lib/pages/widgets/product_purchase.widget.dart b/lib/pages/widgets/product_purchase.widget.dart index 3317ec9..ae8e77a 100644 --- a/lib/pages/widgets/product_purchase.widget.dart +++ b/lib/pages/widgets/product_purchase.widget.dart @@ -15,7 +15,7 @@ class ProductPurchase extends StatelessWidget { String buttonText = ''; String buttonTextInactive = ''; if (product.id.contains("year")) { - period += "/ year"; + period += "once a year"; buttonText = "Subscribe"; buttonTextInactive = "Already"; priceColor = Colors.amber; diff --git a/pubspec.yaml b/pubspec.yaml index 3da4405..5bbf0d3 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: hass_client description: Home Assistant Android Client -version: 1.1.0+1157 +version: 1.1.1+1158 environment: