/// <summary> /// Attempts to load icons from the Squalr api. /// </summary> private void LoadIcons() { Task.Run(() => { try { this.streamIcons = SqualrApi.GetStreamIcons(); this.RaisePropertyChanged(nameof(this.FilteredStreamIconList)); this.IsStreamIconListLoading = false; this.NotifyIconsLoaded(); } catch (Exception ex) { OutputViewModel.GetInstance().Log(OutputViewModel.LogLevel.Error, "Error loading icons", ex); } }); }