Correct upgrade banner
This commit is contained in:
parent
0da2d2e4fe
commit
bff3cc054a
|
|
@ -75,10 +75,10 @@ class EditScaffold extends StatelessWidget {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((!state.isProPlan || state.account.isTrial) && !isApple()) {
|
if (!state.isProPlan || state.account.isTrial) {
|
||||||
if (isAdvancedSettings) {
|
if (isAdvancedSettings) {
|
||||||
showUpgradeBanner = true;
|
showUpgradeBanner = true;
|
||||||
if (isEnabled) {
|
if (!state.isProPlan && isEnabled) {
|
||||||
isCancelEnabled = true;
|
isCancelEnabled = true;
|
||||||
isEnabled = false;
|
isEnabled = false;
|
||||||
}
|
}
|
||||||
|
|
@ -92,7 +92,7 @@ class EditScaffold extends StatelessWidget {
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
child: Scaffold(
|
child: Scaffold(
|
||||||
body: showUpgradeBanner
|
body: showUpgradeBanner && !isApple()
|
||||||
? Column(
|
? Column(
|
||||||
children: [
|
children: [
|
||||||
InkWell(
|
InkWell(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue