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 c45e5e4 commit db66f9dCopy full SHA for db66f9d
src/Files.App/Data/Models/PinnedFoldersManager.cs
@@ -104,13 +104,13 @@ public async Task<LocationItem> CreateLocationItemFromPathAsync(string path)
104
{
105
locationItem.IsInvalid = false;
106
if (res.Result is not null)
107
- _ = LoadIconForLocationItemAsync(locationItem, res.Result.Path);
+ await LoadIconForLocationItemAsync(locationItem, res.Result.Path);
108
}
109
else
110
111
locationItem.IsInvalid = true;
112
Debug.WriteLine($"Pinned item was invalid {res?.ErrorCode}, item: {path}");
113
- _ = LoadDefaultIconForLocationItemAsync(locationItem);
+ await LoadDefaultIconForLocationItemAsync(locationItem);
114
115
116
return locationItem;
0 commit comments