diff --git a/MatterControlLib/SettingsManagement/OemSettings.cs b/MatterControlLib/SettingsManagement/OemSettings.cs index c83bb437a..488857f18 100644 --- a/MatterControlLib/SettingsManagement/OemSettings.cs +++ b/MatterControlLib/SettingsManagement/OemSettings.cs @@ -154,6 +154,7 @@ namespace MatterHackers.MatterControl.SettingsManagement public OemProfileDictionary OemProfiles { get; set; } public Dictionary OemUrls { get; } + public Dictionary OemPrinters { get; } [OnDeserialized] @@ -176,7 +177,7 @@ namespace MatterHackers.MatterControl.SettingsManagement return JsonConvert.DeserializeObject(json); } - public async Task ReloadOemProfiles(IProgress syncReport = null) + public async Task ReloadOemProfiles() { // In public builds this won't be assigned to and we should exit if (ApplicationController.GetPublicProfileList == null) @@ -201,10 +202,10 @@ namespace MatterHackers.MatterControl.SettingsManagement return result; }); - await DownloadMissingProfiles(syncReport); + await DownloadMissingProfiles(); } - private async Task DownloadMissingProfiles(IProgress syncReport) + private async Task DownloadMissingProfiles() { ProgressStatus reportValue = new ProgressStatus(); int index = 0; @@ -226,13 +227,6 @@ namespace MatterHackers.MatterControl.SettingsManagement { return; } - - if (syncReport != null) - { - reportValue.Status = string.Format("Downloading public profiles for {0}...", oem); - reportValue.Progress0To1 = (double)index / OemProfiles.Count; - syncReport.Report(reportValue); - } } } }