UI overhaul (#383)

This commit is contained in:
Michael Green
2024-09-01 01:00:54 +10:00
committed by GitHub
parent fd7b354571
commit deef919d5b
179 changed files with 18355 additions and 8819 deletions

View File

@@ -76,7 +76,13 @@ namespace gaseous_server.Classes.Metadata
{
returnValue = await GetObjectFromServer(WhereClause, ImagePath);
Storage.NewCacheValue(returnValue, true);
forceImageDownload = true;
// check if old value is different from the new value - only download if it's different
PlatformLogo oldImage = Storage.GetCacheValue<PlatformLogo>(returnValue, "id", (long)searchValue);
if (oldImage.ImageId != returnValue.ImageId)
{
forceImageDownload = true;
}
}
catch (Exception ex)
{