Skip to content

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 added the ready for review Pull requests that are ready for review label Jan 28, 2025
@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
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 ready for review Pull requests that are ready for 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