WT 1.1.20(4) Training plan improvements

This commit is contained in:
bossanyit
2021-07-05 22:10:32 +02:00
parent 211307e63e
commit 48a0c3f7de
52 changed files with 2086 additions and 1229 deletions
+6
View File
@@ -29,6 +29,7 @@ class SalesBloc extends Bloc<SalesEvent, SalesState> with Logging {
String? salesText;
String? premiumFunctions = "";
String? trial = "";
Future<void> init() async {
if (Cache().userLoggedIn == null) {
@@ -47,6 +48,11 @@ class SalesBloc extends Bloc<SalesEvent, SalesState> with Logging {
premiumFunctions = "";
}
trial = descriptionRepository.getDescriptionByName("trial");
if (trial == null || trial!.isEmpty) {
trial = "";
}
await RevenueCatPurchases().getOfferings();
this.getProductSet();
Track().track(TrackingEvent.sales_page);