TileImageLoader

This commit is contained in:
ClemensFischer 2025-01-21 19:28:49 +01:00
parent 115525cbfc
commit b3d147bf5e
4 changed files with 12 additions and 7 deletions

View file

@ -14,7 +14,7 @@ namespace MapControl
{
var image = await loadImageFunc().ConfigureAwait(false);
await tile.Image.Dispatcher.InvokeAsync(() => tile.SetImageSource(image));
_ = tile.Image.Dispatcher.InvokeAsync(() => tile.SetImageSource(image)); // no need to await InvokeAsync
}
}
}