Skip to content

Commit

Permalink
Update src/Files.App/ViewModels/ShellViewModel.cs
Browse files Browse the repository at this point in the history
Co-authored-by: hishitetsu <[email protected]>
Signed-off-by: Yair <[email protected]>
  • Loading branch information
yaira2 and hishitetsu authored Jan 16, 2025
1 parent c3dee7b commit 5a412d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Files.App/ViewModels/ShellViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,7 @@ private async Task LoadThumbnailAsync(ListedItem item, CancellationToken cancell
item.ItemPath,
thumbnailSize,
item.IsFolder,
returnIconOnly ? IconOptions.ReturnIconOnly | (useCurrentScale ? IconOptions.UseCurrentScale : 0) : (useCurrentScale ? IconOptions.UseCurrentScale : 0));
(returnIconOnly ? IconOptions.ReturnIconOnly : IconOptions.None) | (useCurrentScale ? IconOptions.UseCurrentScale : IconOptions.None));

cancellationToken.ThrowIfCancellationRequested();
}
Expand Down

0 comments on commit 5a412d0

Please sign in to comment.