WT 1.1.26+3 bloc migration
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user