diff --git a/MapControl/UWP/ImageLoader.UWP.cs b/MapControl/UWP/ImageLoader.UWP.cs index 053fcd98..c261fc3e 100644 --- a/MapControl/UWP/ImageLoader.UWP.cs +++ b/MapControl/UWP/ImageLoader.UWP.cs @@ -41,7 +41,7 @@ namespace MapControl { var path = uri.IsAbsoluteUri ? uri.LocalPath : uri.OriginalString; - if (!await Task.Run(() => File.Exists(path))) + if (!File.Exists(path)) { return null; }