Apple changes
This commit is contained in:
parent
3f7cd80d0b
commit
6701664425
|
|
@ -124,7 +124,7 @@ class EditScaffold extends StatelessWidget {
|
|||
child: Scaffold(
|
||||
body: state.companies.isEmpty
|
||||
? LoadingIndicator()
|
||||
: showUpgradeBanner
|
||||
: showUpgradeBanner && !isApple()
|
||||
? Column(
|
||||
children: [
|
||||
InkWell(
|
||||
|
|
@ -132,7 +132,7 @@ class EditScaffold extends StatelessWidget {
|
|||
upgradeMessage,
|
||||
color: Colors.orange,
|
||||
),
|
||||
onTap: state.userCompany.isOwner && !isApple()
|
||||
onTap: state.userCompany.isOwner
|
||||
? () async {
|
||||
launch(state.userCompany.ninjaPortalUrl);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -527,13 +527,14 @@ class MenuDrawer extends StatelessWidget {
|
|||
icon: getEntityIcon(EntityType.recurringExpense),
|
||||
title: localization.recurringExpenses,
|
||||
),
|
||||
DrawerTile(
|
||||
company: company,
|
||||
icon: getEntityIcon(EntityType.reports),
|
||||
title: localization.reports,
|
||||
onTap: () => viewEntitiesByType(
|
||||
entityType: EntityType.reports),
|
||||
),
|
||||
if (!isApple() || state.isProPlan)
|
||||
DrawerTile(
|
||||
company: company,
|
||||
icon: getEntityIcon(EntityType.reports),
|
||||
title: localization.reports,
|
||||
onTap: () => viewEntitiesByType(
|
||||
entityType: EntityType.reports),
|
||||
),
|
||||
DrawerTile(
|
||||
company: company,
|
||||
icon: getEntityIcon(EntityType.settings),
|
||||
|
|
|
|||
Loading…
Reference in New Issue