Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Fixed issue where the size wasn't displayed after creating a new archive #16745

Merged
merged 2 commits into from
Jan 28, 2025

Conversation

Roilin-Lab
Copy link
Contributor

@Roilin-Lab Roilin-Lab commented Jan 28, 2025

Resolved / Related Issues

The problem is related to the fact that the archive, which is perceived as a folder, is not assigned a size in the ShellViewModel.GetFileOrFolderUpdateInfoAsync() method, unlike files, but we also do not want to assign a size to regular folders, for which this method is called, so for them the size should be left as null.

Steps used to test these changes

  1. Create an archive using any available actions.
  2. Make sure that the size is displayed correctly.

@yaira2 yaira2 changed the title Fix: Fixed issue with updating the archive size after creation Fix: Fixed issue where the size wasn't displayed after creating a new archive Jan 28, 2025
Signed-off-by: Yair <39923744+yaira2@users.noreply.github.com>
Copy link
Member

@yaira2 yaira2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Roilin-Lab thank you!

@yaira2 yaira2 merged commit 349505d into files-community:main Jan 28, 2025
@yaira2 yaira2 added ready to merge Pull requests that are approved and ready to merge and removed needs - code review labels Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge Pull requests that are approved and ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Archive size is not updated at the creation
2 participants