Fixes for upgrade/change plan
This commit is contained in:
parent
b08f661a55
commit
d561174e34
|
|
@ -523,7 +523,7 @@ class _MenuDrawerState extends State<MenuDrawer> {
|
||||||
),
|
),
|
||||||
if (state.userCompany.isOwner &&
|
if (state.userCompany.isOwner &&
|
||||||
state.isHosted &&
|
state.isHosted &&
|
||||||
!isPaidAccount(context) &&
|
!state.isProPlan &&
|
||||||
(!isApple() || supportsInAppPurchase()))
|
(!isApple() || supportsInAppPurchase()))
|
||||||
Material(
|
Material(
|
||||||
child: Tooltip(
|
child: Tooltip(
|
||||||
|
|
|
||||||
|
|
@ -364,7 +364,7 @@ class _AccountOverview extends StatelessWidget {
|
||||||
onPressed: () => viewModel.onSetPrimaryCompany(context),
|
onPressed: () => viewModel.onSetPrimaryCompany(context),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
if (state.isHosted && state.isProPlan) ...[
|
if (state.isHosted && state.isProPlan && !state.isTrial) ...[
|
||||||
if (supportsInAppPurchase())
|
if (supportsInAppPurchase())
|
||||||
SizedBox()
|
SizedBox()
|
||||||
else if (!supportsInAppPurchase() && state.account.hasIapPlan)
|
else if (!supportsInAppPurchase() && state.account.hasIapPlan)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue