Hide upgrade on mobile
This commit is contained in:
parent
741569120d
commit
b88a3719ff
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue