From dbb9b84067378b0d744bcc0412ab0e54b337f5d5 Mon Sep 17 00:00:00 2001 From: ClemensFischer Date: Tue, 13 Feb 2024 20:51:22 +0100 Subject: [PATCH] Update TileImageLoader.UWP.cs --- MapControl/UWP/TileImageLoader.UWP.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MapControl/UWP/TileImageLoader.UWP.cs b/MapControl/UWP/TileImageLoader.UWP.cs index 257b69a0..c57b82ed 100644 --- a/MapControl/UWP/TileImageLoader.UWP.cs +++ b/MapControl/UWP/TileImageLoader.UWP.cs @@ -4,6 +4,7 @@ using System; using System.Threading.Tasks; +using Windows.Storage; using Windows.UI.Core; using Windows.UI.Xaml.Media; @@ -14,7 +15,7 @@ namespace MapControl /// /// Default folder where the Cache instance may save data. /// - public static string DefaultCacheFolder => Windows.Storage.ApplicationData.Current.TemporaryFolder.Path; + public static string DefaultCacheFolder => ApplicationData.Current.TemporaryFolder.Path; private static async Task LoadTileAsync(Tile tile, Func> loadImageFunc)