fix(mobile): hide latest version warnings (#26036)

The latest version is already hidden in the server info widget if
disabled (https://github.com/immich-app/immich/pull/25691), however I
did not realise there are more places where this warning is shown. This
hides the warning everywhere, and cleans up the code a bit.
This commit is contained in:
Thomas 2026-02-13 02:45:25 +00:00 committed by GitHub
parent 8ef4e4d452
commit e5156df4f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 95 additions and 173 deletions

View file

@ -28,7 +28,7 @@ class ServerInfo {
const ServerInfo({
required this.serverVersion,
required this.latestVersion,
this.latestVersion,
required this.serverFeatures,
required this.serverConfig,
required this.serverDiskInfo,