Added ping handler. IO-406
This commit is contained in:
@@ -222,11 +222,13 @@ namespace BodyshopPartner.ViewModels
|
||||
{
|
||||
ShopData = Data.bodyshops.ToObject<ObservableCollection<Bodyshop>>();
|
||||
}
|
||||
|
||||
ActiveShop = ShopData.Where(_ => _.AssociationActive == true).FirstOrDefault();
|
||||
Properties.Settings.Default.LastSelectedShop = ActiveShop.Id ?? null;
|
||||
Properties.Settings.Default.Save();
|
||||
|
||||
|
||||
ActiveShop = ShopData.Where(_ => _.AssociationActive == true).FirstOrDefault();
|
||||
Utils.AppMetaData.ActiveShopId = ActiveShop?.Id;
|
||||
Utils.AppMetaData.ShopRegion = ActiveShop?.RegionConfig;
|
||||
Properties.Settings.Default.LastSelectedShop = ActiveShop.Id ?? null;
|
||||
Properties.Settings.Default.Save();
|
||||
|
||||
}
|
||||
|
||||
public async Task SetActiveBodyshop()
|
||||
|
||||
Reference in New Issue
Block a user