Don’t limit advanced features in demo
This commit is contained in:
parent
163a38f9f3
commit
6fdae0fe36
|
|
@ -726,13 +726,12 @@ abstract class AppState implements Built<AppState, AppStateBuilder> {
|
||||||
|
|
||||||
bool get isProduction => cleanApiUrl(authState.url) == kAppProductionUrl;
|
bool get isProduction => cleanApiUrl(authState.url) == kAppProductionUrl;
|
||||||
|
|
||||||
bool get isWhiteLabeled => isSelfHosted || account.plan == kPlanWhiteLabel;
|
bool get isWhiteLabeled => account.plan == kPlanWhiteLabel;
|
||||||
|
|
||||||
bool get isProPlan =>
|
bool get isProPlan => isEnterprisePlan || account.plan == kPlanPro;
|
||||||
isSelfHosted || isEnterprisePlan || account.plan == kPlanPro;
|
|
||||||
|
|
||||||
bool get isEnterprisePlan =>
|
bool get isEnterprisePlan =>
|
||||||
!kReleaseMode || isSelfHosted || account.plan == kPlanEnterprise;
|
!kReleaseMode || !isProduction || account.plan == kPlanEnterprise;
|
||||||
//bool get isEnterprisePlan => isSelfHosted || account.plan == kPlanEnterprise;
|
//bool get isEnterprisePlan => isSelfHosted || account.plan == kPlanEnterprise;
|
||||||
|
|
||||||
bool get isUserConfirmed {
|
bool get isUserConfirmed {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue