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 &&
|
||||
state.isHosted &&
|
||||
!isPaidAccount(context) &&
|
||||
!state.isProPlan &&
|
||||
(!isApple() || supportsInAppPurchase()))
|
||||
Material(
|
||||
child: Tooltip(
|
||||
|
|
|
|||
|
|
@ -364,7 +364,7 @@ class _AccountOverview extends StatelessWidget {
|
|||
onPressed: () => viewModel.onSetPrimaryCompany(context),
|
||||
),
|
||||
),
|
||||
if (state.isHosted && state.isProPlan) ...[
|
||||
if (state.isHosted && state.isProPlan && !state.isTrial) ...[
|
||||
if (supportsInAppPurchase())
|
||||
SizedBox()
|
||||
else if (!supportsInAppPurchase() && state.account.hasIapPlan)
|
||||
|
|
|
|||
Loading…
Reference in New Issue