Browse Source

fix file modified time in storage item properties (#18487)

pull/18315/head
Emmanuel Hansen 2 years ago
committed by GitHub
parent
commit
82d129d92e
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/Avalonia.Base/Platform/Storage/FileIO/BclStorageItem.cs

2
src/Avalonia.Base/Platform/Storage/FileIO/BclStorageItem.cs

@ -83,7 +83,7 @@ internal abstract class BclStorageItem(FileSystemInfo fileSystemInfo) : IStorage
return new StorageItemProperties(
fileSystemInfo is FileInfo fileInfo ? (ulong)fileInfo.Length : 0,
fileSystemInfo.CreationTimeUtc,
fileSystemInfo.LastAccessTimeUtc);
fileSystemInfo.LastWriteTimeUtc);
}
return new StorageItemProperties();

Loading…
Cancel
Save