Lots of small fixes including #475

This commit is contained in:
tidusjar 2016-10-19 22:53:56 +01:00
parent ac51b39636
commit bcf1c9cd8e
7 changed files with 123 additions and 86 deletions

View file

@ -59,7 +59,9 @@ namespace PlexRequests.UI.Modules
{
return Response.AsJson(new JsonUpdateAvailableModel { UpdateAvailable = false });
}
#if DEBUG
return Response.AsJson(new JsonUpdateAvailableModel {UpdateAvailable = false});
#endif
var checker = new StatusChecker();
var release = await Cache.GetOrSetAsync(CacheKeys.LastestProductVersion, async() => await checker.GetStatus(), 30);