Hide upgrade on mobile
This commit is contained in:
parent
741569120d
commit
b88a3719ff
|
|
@ -61,7 +61,7 @@ class EditScaffold extends StatelessWidget {
|
||||||
bool isCancelEnabled = false;
|
bool isCancelEnabled = false;
|
||||||
|
|
||||||
if (!state.isProPlan) {
|
if (!state.isProPlan) {
|
||||||
if (isAdvancedSettings) {
|
if (isAdvancedSettings && !isApple()) {
|
||||||
showUpgradeBanner = true;
|
showUpgradeBanner = true;
|
||||||
if (isEnabled) {
|
if (isEnabled) {
|
||||||
isCancelEnabled = true;
|
isCancelEnabled = true;
|
||||||
|
|
|
||||||
|
|
@ -684,7 +684,7 @@ class SidebarFooter extends StatelessWidget {
|
||||||
),
|
),
|
||||||
onPressed: () => _showUpdate(context),
|
onPressed: () => _showUpdate(context),
|
||||||
),
|
),
|
||||||
if (!kReleaseMode || (isHosted(context) && !isPaidAccount(context)))
|
if (isHosted(context) && !isPaidAccount(context) && !isApple())
|
||||||
IconButton(
|
IconButton(
|
||||||
tooltip: isHosted(context)
|
tooltip: isHosted(context)
|
||||||
? localization.upgrade
|
? localization.upgrade
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue