Check update isn’t shown if installed with Softaculous

This commit is contained in:
Hillel Coren 2022-07-03 18:34:30 +03:00
parent 3a7b031b47
commit 7db184466a
1 changed files with 3 additions and 1 deletions

View File

@ -877,7 +877,9 @@ class SidebarFooter extends StatelessWidget {
clearErrorOnDismiss: true,
),
)
else if (state.isSelfHosted && state.isUpdateAvailable)
else if (state.isSelfHosted &&
!state.account.disableAutoUpdate &&
state.isUpdateAvailable)
IconButton(
tooltip: prefState.enableTooltips
? localization.updateAvailable