Update purchase information
This commit is contained in:
		| @@ -1,4 +1,4 @@ | |||||||
| org.gradle.jvmargs=-Xmx2g | org.gradle.jvmargs=-Xmx1g | ||||||
| org.gradle.daemon=true | org.gradle.daemon=true | ||||||
| org.gradle.caching=true | org.gradle.caching=true | ||||||
| android.useAndroidX=true | android.useAndroidX=true | ||||||
|   | |||||||
| @@ -63,7 +63,18 @@ class _PurchasePageState extends State<PurchasePage> { | |||||||
|   } |   } | ||||||
|  |  | ||||||
|   List<Widget> _buildProducts() { |   List<Widget> _buildProducts() { | ||||||
|     List<Widget> productWidgets = []; |     List<Widget> 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) { |     for (ProductDetails product in _products) { | ||||||
|       productWidgets.add( |       productWidgets.add( | ||||||
|         ProductPurchase( |         ProductPurchase( | ||||||
|   | |||||||
| @@ -15,7 +15,7 @@ class ProductPurchase extends StatelessWidget { | |||||||
|     String buttonText = ''; |     String buttonText = ''; | ||||||
|     String buttonTextInactive = ''; |     String buttonTextInactive = ''; | ||||||
|     if (product.id.contains("year")) { |     if (product.id.contains("year")) { | ||||||
|       period += "/ year"; |       period += "once a year"; | ||||||
|       buttonText = "Subscribe"; |       buttonText = "Subscribe"; | ||||||
|       buttonTextInactive = "Already"; |       buttonTextInactive = "Already"; | ||||||
|       priceColor = Colors.amber; |       priceColor = Colors.amber; | ||||||
|   | |||||||
| @@ -1,7 +1,7 @@ | |||||||
| name: hass_client | name: hass_client | ||||||
| description: Home Assistant Android Client | description: Home Assistant Android Client | ||||||
|  |  | ||||||
| version: 1.1.0+1157 | version: 1.1.1+1158 | ||||||
|  |  | ||||||
|  |  | ||||||
| environment: | environment: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user