Correct upgrade banner

This commit is contained in:
Hillel Coren 2021-07-16 18:25:48 +03:00
parent 0da2d2e4fe
commit bff3cc054a
1 changed files with 3 additions and 3 deletions

View File

@ -75,10 +75,10 @@ class EditScaffold extends StatelessWidget {
}
}
if ((!state.isProPlan || state.account.isTrial) && !isApple()) {
if (!state.isProPlan || state.account.isTrial) {
if (isAdvancedSettings) {
showUpgradeBanner = true;
if (isEnabled) {
if (!state.isProPlan && isEnabled) {
isCancelEnabled = true;
isEnabled = false;
}
@ -92,7 +92,7 @@ class EditScaffold extends StatelessWidget {
return true;
},
child: Scaffold(
body: showUpgradeBanner
body: showUpgradeBanner && !isApple()
? Column(
children: [
InkWell(