2 Commits

Author SHA1 Message Date
0b5701b739 Move purchasing logic to PurchaseManager
Hopefully with this there will never be any more problems of purchases
not being completed.
2020-11-27 17:19:42 +01:00
4eff5844b1 Cleanup PurchaseScreen
Avoid having one widget call the other widget with the sku price. It was
complicating the entire code base. Also, create a new class
PurchaseManager which is a singleton and will be used to manage all
purchases from now on.

The earlier approach of having the code in a widget would sometimes
result in purchases not being confirmed. I'm hoping that putting the
class in a singleton will help.
2020-11-27 16:28:58 +01:00