Show update notification to docker installs
This commit is contained in:
parent
ddd4d8a0ce
commit
a56e1e02ca
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue