diff --git a/src/Files.App/ViewModels/Properties/Items/FileProperty.cs b/src/Files.App/ViewModels/Properties/Items/FileProperty.cs index a2a66c17ce3c..6d2a9207ed2f 100644 --- a/src/Files.App/ViewModels/Properties/Items/FileProperty.cs +++ b/src/Files.App/ViewModels/Properties/Items/FileProperty.cs @@ -4,7 +4,7 @@ using Files.App.Converters; using Microsoft.UI.Xaml; using Microsoft.UI.Xaml.Data; -using System.Text.Json; +using System.Collections.Concurrent; using Windows.Storage; namespace Files.App.ViewModels.Properties @@ -275,7 +275,7 @@ private object ConvertBack(string value) return value; } - private static Dictionary cachedPropertiesListFiles = []; + private static ConcurrentDictionary cachedPropertiesListFiles = []; /// /// This function retrieves the list of properties to display from the PropertiesInformation.json