Skip to content

Commit 349505d

Browse files
Roilin-Labyaira2
andauthored
Fix: Fixed issue where the size wasn't displayed after creating a new archive (#16745)
Signed-off-by: Yair <39923744+yaira2@users.noreply.github.com> Co-authored-by: Yair <39923744+yaira2@users.noreply.github.com>
1 parent a8a9c27 commit 349505d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Files.App/ViewModels/ShellViewModel.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2529,6 +2529,7 @@ private async Task AddFileOrFolderAsync(ListedItem? item)
25292529
else if (storageItem.IsOfType(StorageItemTypes.Folder))
25302530
{
25312531
var properties = await storageItem.AsBaseStorageFolder().GetBasicPropertiesAsync();
2532+
size = (long)properties.Size;
25322533
modified = properties.DateModified;
25332534
created = properties.DateCreated;
25342535
}

0 commit comments

Comments
 (0)