mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Removed Task.Run
This commit is contained in:
parent
b3665b92c0
commit
cce5d6e0b4
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue