Skip to content

Commit a3fd92c

Browse files
authored
Fix: Don't check admin rights for cloud items (#14009)
1 parent 727f728 commit a3fd92c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.App/Data/Items/ListedItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ public void UpdateContainsFilesFolders()
404404
private bool CheckElevationRights()
405405
{
406406
// Avoid downloading file to check elevation
407-
if (SyncStatusUI.SyncStatus is CloudDriveSyncStatus.FileOnline or CloudDriveSyncStatus.FolderOnline)
407+
if (SyncStatusUI.LoadSyncStatus)
408408
return false;
409409

410410
return IsShortcut

0 commit comments

Comments
 (0)