Skip to content

Commit

Permalink
Fix size value not updated
Browse files Browse the repository at this point in the history
  • Loading branch information
hez2010 committed Sep 3, 2021
1 parent 6fb9b81 commit 8e6404e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Files/ViewModels/ItemViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2091,6 +2091,7 @@ await CoreApplication.MainView.DispatcherQueue.EnqueueAsync(() =>

if (result.Value.Size.HasValue)
{
item.FileSizeBytes = result.Value.Size.Value;
item.FileSize = ByteSizeLib.ByteSize.FromBytes(item.FileSizeBytes).ToBinaryString().ConvertSizeAbbreviation();
}
}
Expand Down

0 comments on commit 8e6404e

Please sign in to comment.