Skip to content

Commit

Permalink
Fix build in release
Browse files Browse the repository at this point in the history
  • Loading branch information
gave92 committed Aug 21, 2021
1 parent ca3707d commit 2f6c35e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Files/ViewModels/Properties/FileProperty.cs
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,10 @@ public async static Task<List<FileProperty>> RetrieveAndInitializePropertiesAsyn
keyValuePairs.Add(prop, val);
}
#else
IDictionary<string, object> keyValuePairs = new Dictionary<string, object>();
if (file.Properties != null)
{
var keyValuePairs = await file.Properties.RetrievePropertiesAsync(propsToGet);
keyValuePairs = await file.Properties.RetrievePropertiesAsync(propsToGet);
}
#endif
foreach (var prop in list)
Expand Down

0 comments on commit 2f6c35e

Please sign in to comment.