Add cached network loading for product tour

This commit is contained in:
John Lewin 2018-12-13 09:24:45 -08:00
parent 172ff1cc30
commit da625fc267
3 changed files with 21 additions and 14 deletions

View file

@ -244,9 +244,9 @@ namespace MatterControlLib.SetupWizard
return this.TransformFromScreenSpace(childBounds);
}
public static void ShowSite(GuiWidget window, int siteIndex)
public static async void ShowSite(GuiWidget window, int siteIndex)
{
var tourSites = ApplicationController.Instance.ProductTour;
var tourSites = await ApplicationController.Instance.LoadProductTour();
if (siteIndex >= tourSites.Count)
{