Refactor GQL code. Auto load and save active shops. Auto start monitors.

This commit is contained in:
Patrick Fic
2020-01-20 15:42:59 -08:00
parent bc5cb13113
commit fa75c58633
11 changed files with 166 additions and 68 deletions

View File

@@ -34,12 +34,18 @@ namespace BodyshopUploader.ViewModels
set { SetProperty(ref _progress, value); }
}
private bool _indeterminateLoading;
public bool IndeterminateLoading
{
get { return _indeterminateLoading; }
set { SetProperty(ref _indeterminateLoading, value); }
}
private Bodyshop _activeShop;
public Bodyshop ActiveShop
{
get { return _activeShop; }
set { SetProperty(ref _activeShop, value); SetActiveBodyshop(value); }
set { SetProperty(ref _activeShop, value); Task.Run(async () => await SetActiveBodyshop()); }
}
}
}