From c297338536efe218628e25546a9a1205f33cb279 Mon Sep 17 00:00:00 2001 From: ClemensFischer Date: Mon, 24 Feb 2025 00:23:25 +0100 Subject: [PATCH] Update ImageFileCache.cs --- MapControl/Shared/ImageFileCache.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MapControl/Shared/ImageFileCache.cs b/MapControl/Shared/ImageFileCache.cs index d5020e6b..128b0253 100644 --- a/MapControl/Shared/ImageFileCache.cs +++ b/MapControl/Shared/ImageFileCache.cs @@ -285,7 +285,7 @@ namespace MapControl.Caching { file.CreationTime = options.AbsoluteExpiration.HasValue ? options.AbsoluteExpiration.Value.LocalDateTime - : DateTime.Now.Add(options.AbsoluteExpirationRelativeToNow ?? (options.SlidingExpiration ?? TimeSpan.FromDays(1))); + : DateTime.Now.Add(options.AbsoluteExpirationRelativeToNow ?? options.SlidingExpiration ?? TimeSpan.FromDays(1)); } private static int ScanDirectory(DirectoryInfo directory)