From 2a458abd920646d01c3a446d2770213e1a0d6808 Mon Sep 17 00:00:00 2001 From: ClemensFischer Date: Thu, 20 Feb 2025 11:39:01 +0100 Subject: [PATCH] Update ImageFileCache.UWP.cs --- MapControl/UWP/ImageFileCache.UWP.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MapControl/UWP/ImageFileCache.UWP.cs b/MapControl/UWP/ImageFileCache.UWP.cs index 56043c39..58b7933b 100644 --- a/MapControl/UWP/ImageFileCache.UWP.cs +++ b/MapControl/UWP/ImageFileCache.UWP.cs @@ -86,7 +86,7 @@ namespace MapControl.Caching { try { - var item = await rootFolder.TryGetItemAsync(key.Replace('/', '\\')); + var item = await rootFolder.TryGetItemAsync(Path.Combine(key.Split('/'))); if (item is StorageFile file && file.DateCreated > DateTimeOffset.Now) {