Make sure upgrade isn’t shown to selfhosters on Apple

This commit is contained in:
Hillel Coren 2022-10-18 09:23:25 +03:00
parent 13dc041718
commit 7720dd8abd
1 changed files with 1 additions and 1 deletions

View File

@ -626,7 +626,7 @@ class _LoginState extends State<LoginView> {
),
if (!_isSelfHosted &&
!_recoverPassword &&
(!isApple() || supportsInAppPurchase()) &&
!isMacOS() && // TODO remove once IAP macOS is supported
(!kIsWeb || state.authState.isHosted))
Padding(
padding: const EdgeInsets.only(top: 6, bottom: 10),