We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28447d8 commit 3473abdCopy full SHA for 3473abd
src/Files.App/ViewModels/HomeViewModel.cs
@@ -115,9 +115,10 @@ public void RefreshWidgetList()
115
ReloadWidgets();
116
}
117
118
- public Task RefreshWidgetProperties()
+ public async Task RefreshWidgetProperties()
119
{
120
- return Task.WhenAll(WidgetItems.Select(w => w.WidgetItemModel.RefreshWidgetAsync()));
+ foreach (var viewModel in WidgetItems.Select(x => x.WidgetItemModel))
121
+ await viewModel.RefreshWidgetAsync();
122
123
124
private bool InsertWidget(WidgetContainerItem widgetModel, int atIndex)
0 commit comments