diff --git a/public/main.profile.dart.js b/public/main.profile.dart.js index 6a83e6dfc4..9dbc3c3389 100644 --- a/public/main.profile.dart.js +++ b/public/main.profile.dart.js @@ -504837,31 +504837,25 @@ t7 = J.$index$asx(t5.$index(0, _s2_), _s19_); t8.push(new A.Padding(B.EdgeInsets_16_0_16_8, new A.AppButton(_null, B.IconData_57627_MaterialIcons_null_false, t7.toUpperCase(), new A._AccountOverview_build_closure(_this, context), _null, _null), _null)); } - if (state.get$isHosted()) - if (!state.get$isHosted() || t3[t4].userCompany.account.plan === "enterprise" || t3[t4].userCompany.account.plan === "pro") - t7 = !(state.get$isHosted() && t3[t4].userCompany.account.trialDaysLeft > 0); - else - t7 = false; - else - t7 = false; - if (t7) { + if (state.get$isHosted()) { t7 = A._setArrayType([], t9); - if (A.supportsInAppPurchase()) + if ((!state.get$isHosted() || t3[t4].userCompany.account.plan === "enterprise" || t3[t4].userCompany.account.plan === "pro") && account.hasIapPlan) t7.push(new A.SizedBox(_null, _null, _null, _null)); - else if (!A.supportsInAppPurchase() && t3[t4].userCompany.account.hasIapPlan) + else if ((!state.get$isHosted() || t3[t4].userCompany.account.plan === "enterprise" || t3[t4].userCompany.account.plan === "pro") && !account.hasIapPlan && A.supportsInAppPurchase()) t7.push(new A.SizedBox(_null, _null, _null, _null)); - B.JSArray_methods.addAll$1(t8, t7); - } else if (state.get$isHosted()) { - if (account.trialStarted.length === 0 && account.plan === "" && !A.supportsInAppPurchase()) { - t7 = J.$index$asx(t5.$index(0, t6), _s16_); - if (t7 == null) - t7 = J.$index$asx(t5.$index(0, _s2_), _s16_); - } else { - t7 = J.$index$asx(t5.$index(0, t6), _s11_); - if (t7 == null) - t7 = J.$index$asx(t5.$index(0, _s2_), _s11_); + else { + if (account.trialStarted.length === 0 && account.plan === "" && !A.supportsInAppPurchase()) { + t10 = J.$index$asx(t5.$index(0, t6), _s16_); + if (t10 == null) + t10 = J.$index$asx(t5.$index(0, _s2_), _s16_); + } else { + t10 = J.$index$asx(t5.$index(0, t6), _s11_); + if (t10 == null) + t10 = J.$index$asx(t5.$index(0, _s2_), _s11_); + } + t7.push(new A.Padding(B.EdgeInsets_16_16_16_0, A.OutlinedButton$(new A.Padding(B.EdgeInsets_8_8_8_8, new A.IconText(t10.toUpperCase(), B._MdiIconData_ujl0, _null, _null, false, _null), _null), _null, new A._AccountOverview_build_closure0(context, state), _null), _null)); } - t8.push(new A.Padding(B.EdgeInsets_16_16_16_0, A.OutlinedButton$(new A.Padding(B.EdgeInsets_8_8_8_8, new A.IconText(t7.toUpperCase(), B._MdiIconData_ujl0, _null, _null, false, _null), _null), _null, new A._AccountOverview_build_closure0(context, state), _null), _null)); + B.JSArray_methods.addAll$1(t8, t7); } t7 = company.isDisabled; t10 = J.$index$asx(t5.$index(0, t6), "activate_company");