Skip to content

Commit

Permalink
Fix: Fixed issue where the size wasn't displayed after creating a new…
Browse files Browse the repository at this point in the history
… archive (#16745)

Signed-off-by: Yair <[email protected]>
Co-authored-by: Yair <[email protected]>
  • Loading branch information
Roilin-Lab and yaira2 authored Jan 28, 2025
1 parent a8a9c27 commit 349505d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Files.App/ViewModels/ShellViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2529,6 +2529,7 @@ private async Task AddFileOrFolderAsync(ListedItem? item)
else if (storageItem.IsOfType(StorageItemTypes.Folder))
{
var properties = await storageItem.AsBaseStorageFolder().GetBasicPropertiesAsync();
size = (long)properties.Size;
modified = properties.DateModified;
created = properties.DateCreated;
}
Expand Down

0 comments on commit 349505d

Please sign in to comment.