Show update notification to docker installs

This commit is contained in:
Hillel Coren 2022-12-13 09:48:53 +02:00
parent ddd4d8a0ce
commit a56e1e02ca
1 changed files with 1 additions and 2 deletions

View File

@ -1015,7 +1015,6 @@ class SidebarFooter extends StatelessWidget {
) )
else if (state.isSelfHosted && else if (state.isSelfHosted &&
!state.account.disableAutoUpdate && !state.account.disableAutoUpdate &&
!state.account.isDocker &&
state.isUpdateAvailable) state.isUpdateAvailable)
IconButton( IconButton(
tooltip: prefState.enableTooltips tooltip: prefState.enableTooltips
@ -1517,7 +1516,7 @@ void _showAbout(BuildContext context) async {
}, },
), ),
if (!state.account.disableAutoUpdate && if (!state.account.disableAutoUpdate &&
!state.account.isDocker) (!state.account.isDocker || state.isUpdateAvailable))
AppButton( AppButton(
label: (state.isUpdateAvailable label: (state.isUpdateAvailable
? localization.updateApp ? localization.updateApp