WT 1.1.26+3 bloc migration

This commit is contained in:
Tibor Bossanyi (Freelancer)
2022-04-15 08:47:32 +02:00
parent 60df0bcf2d
commit 225172f950
47 changed files with 1527 additions and 1620 deletions
-21
View File
@@ -780,25 +780,4 @@ class Cache with Logging {
}
this._customerPropertyAll!.add(property);
}
bool canTrial() {
bool can = true;
if (Cache().userLoggedIn == null) {
can = false;
return can;
}
for (var element in _purchases) {
if (element.customerId == Cache().userLoggedIn!.customerId) {
can = false;
}
}
if (userLoggedIn!.trialDate != null) {
can = false;
}
print("Can Trial $can");
return can;
}
}