Fixes for upgrade/change plan

This commit is contained in:
Hillel Coren 2023-05-28 10:16:12 +03:00
parent b08f661a55
commit d561174e34
2 changed files with 2 additions and 2 deletions

View File

@ -523,7 +523,7 @@ class _MenuDrawerState extends State<MenuDrawer> {
),
if (state.userCompany.isOwner &&
state.isHosted &&
!isPaidAccount(context) &&
!state.isProPlan &&
(!isApple() || supportsInAppPurchase()))
Material(
child: Tooltip(

View File

@ -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)