Update subscribtions

This commit is contained in:
estevez-dev
2019-08-26 19:42:26 +03:00
parent 594bce0b8d
commit 67e885e76a
2 changed files with 5 additions and 5 deletions

View File

@ -12,12 +12,12 @@ class ProductPurchase extends StatelessWidget {
Widget build(BuildContext context) {
String period = "/ ";
Color priceColor;
if (product.id.contains("month")) {
period += "month";
priceColor = Colors.deepOrangeAccent;
} else {
if (product.id.contains("year")) {
period += "year";
priceColor = Colors.amber;
} else {
period += "month";
priceColor = Colors.deepOrangeAccent;
}
return Card(
child: Padding(