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