Refactor GQL code. Auto load and save active shops. Auto start monitors.
This commit is contained in:
@@ -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()); }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user