WT 1.1.20(4) Training plan improvements
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user