We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b05852a commit f6ea42eCopy full SHA for f6ea42e
src/Files.App/ViewModels/Properties/Items/FolderProperties.cs
@@ -111,10 +111,11 @@ public async override Task GetSpecialPropertiesAsync()
111
{
112
ViewModel.ItemCreatedTimestampReal = storageFolder.DateCreated;
113
if (storageFolder.Properties is not null)
114
- {
115
GetOtherPropertiesAsync(storageFolder.Properties);
116
- }
117
- GetFolderSizeAsync(storageFolder.Path, TokenSource.Token);
+
+ // Only load the size for items on the device
+ if (Item.SyncStatusUI.SyncStatus != CloudDriveSyncStatus.FileOnline)
118
+ GetFolderSizeAsync(storageFolder.Path, TokenSource.Token);
119
}
120
else if (Item.ItemPath.Equals(Constants.UserEnvironmentPaths.RecycleBinPath, StringComparison.OrdinalIgnoreCase))
121
0 commit comments