diff --git a/FoliCon/Models/Constants/GlobalVariables.cs b/FoliCon/Models/Constants/GlobalVariables.cs index cc3cdf5..4cdfab3 100644 --- a/FoliCon/Models/Constants/GlobalVariables.cs +++ b/FoliCon/Models/Constants/GlobalVariables.cs @@ -19,6 +19,12 @@ public static IconOverlay IconOverlayType() public const string MediaInfoFile = "info.folicon"; - private static string IconOverlayTypeString => - Services.Tracker.Store.GetData("PosterIconConfigViewModel")?["p.IconOverlay"]?.ToString() ?? IconOverlay.Liaher.ToString(); + private static string IconOverlayTypeString + { + get + { + var data = Services.Tracker.Store.GetData("PosterIconConfigViewModel"); + return data.TryGetValue("p.IconOverlay", out var value) ? value.ToString() : IconOverlay.Liaher.ToString(); + } + } } \ No newline at end of file diff --git a/README.md b/README.md index 81e91dc..74fe854 100644 --- a/README.md +++ b/README.md @@ -100,5 +100,5 @@ Thank you to the following individuals who have provided invaluable inputs throu MasoudRahmani
@MasoudRahmani
PoetaGA
@PoetaGA
- +
... and many more who have interacted with us through issues and discussions.