mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Update ImageFileCache.UWP.cs
This commit is contained in:
parent
11ed14c823
commit
2a458abd92
|
|
@ -86,7 +86,7 @@ namespace MapControl.Caching
|
||||||
{
|
{
|
||||||
try
|
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)
|
if (item is StorageFile file && file.DateCreated > DateTimeOffset.Now)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue