Hide upgrade CTAs on Apple devices
This commit is contained in:
parent
46e3c3f682
commit
4361e9aea5
|
|
@ -299,7 +299,9 @@ class _InvoiceEmailViewState extends State<InvoiceEmailView>
|
|||
padding: const EdgeInsets.only(bottom: 10),
|
||||
child: IconMessage(
|
||||
localization.customEmailsDisabledHelp,
|
||||
trailing: TextButton(
|
||||
trailing: isApple()
|
||||
? null
|
||||
: TextButton(
|
||||
child: Text(
|
||||
localization.upgrade.toUpperCase(),
|
||||
style: TextStyle(
|
||||
|
|
|
|||
|
|
@ -412,9 +412,11 @@ class ReportsScreen extends StatelessWidget {
|
|||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
HelpText(localization.upgradeToViewReports),
|
||||
if (!isApple())
|
||||
AppButton(
|
||||
label: localization.upgrade.toUpperCase(),
|
||||
onPressed: () => launch(state.userCompany.ninjaPortalUrl),
|
||||
onPressed: () =>
|
||||
launch(state.userCompany.ninjaPortalUrl),
|
||||
)
|
||||
],
|
||||
),
|
||||
|
|
|
|||
Loading…
Reference in New Issue