Hide upgrade on mobile

This commit is contained in:
Hillel Coren 2021-07-07 13:29:01 +03:00
parent 741569120d
commit b88a3719ff
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ class EditScaffold extends StatelessWidget {
bool isCancelEnabled = false;
if (!state.isProPlan) {
if (isAdvancedSettings) {
if (isAdvancedSettings && !isApple()) {
showUpgradeBanner = true;
if (isEnabled) {
isCancelEnabled = true;

View File

@ -684,7 +684,7 @@ class SidebarFooter extends StatelessWidget {
),
onPressed: () => _showUpdate(context),
),
if (!kReleaseMode || (isHosted(context) && !isPaidAccount(context)))
if (isHosted(context) && !isPaidAccount(context) && !isApple())
IconButton(
tooltip: isHosted(context)
? localization.upgrade