Repository: files-community/Files
File: src/Files.App/ViewModels/ShellViewModel.cs (C#)

Code before:
							IconOptions.ReturnThumbnailOnly | IconOptions.ReturnOnlyIfCached | (useCurrentScale ? IconOptions.UseCurrentScale : 0));

					cancellationToken.ThrowIfCancellationRequested();
					loadNonCachedThumbnail = true;
				}

				if (result is null)
				{
					// Get icon
					result = await FileThumbnailHelper.GetIconAsync(
							item.ItemPath,
							thumbnailSize,
							item.IsFolder,
							IconOptions.ReturnIconOnly | (useCurrentScale ? IconOptions.UseCurrentScale : 0));

					cancellationToken.ThrowIfCancellationRequested();
				}
			}
			else
			{
				// Get icon or thumbnail
				result = await FileThumbnailHelper.GetIconAsync(
						item.ItemPath,
						thumbnailSize,
						item.IsFolder,
						returnIconOnly ? IconOptions.ReturnIconOnly | (useCurrentScale ? IconOptions.UseCurrentScale : 0) : (useCurrentScale ? IconOptions.UseCurrentScale : 0));

				cancellationToken.ThrowIfCancellationRequested();
			}

			if (result is not null)
			{
				await dispatcherQueue.EnqueueOrInvokeAsync(async () =>
				{
					// Assign FileImage property
					var image = await result.ToBitmapAsync();
					if (image is not null)
						item.FileImage = image;
				}, Microsoft.UI.Dispatching.DispatcherQueuePriority.Normal);

				cancellationToken.ThrowIfCancellationRequested();
			}

			// Get icon overlay
			var iconOverlay = await FileThumbnailHelper.GetIconOverlayAsync(item.ItemPath, true);

			cancellationToken.ThrowIfCancellationRequested();

			if (iconOverlay is not null)
			{
				await dispatcherQueue.EnqueueOrInvokeAsync(async () =>

Review comment (suggestion):
```suggestion
						(returnIconOnly ? IconOptions.ReturnIconOnly : IconOptions.None) | (useCurrentScale ? IconOptions.UseCurrentScale : IconOptions.None));
```

Code after:
							IconOptions.ReturnThumbnailOnly | IconOptions.ReturnOnlyIfCached | (useCurrentScale ? IconOptions.UseCurrentScale : IconOptions.None));

					cancellationToken.ThrowIfCancellationRequested();
					loadNonCachedThumbnail = true;
				}

				if (result is null)
				{
					// Get icon
					result = await FileThumbnailHelper.GetIconAsync(
							item.ItemPath,
							thumbnailSize,
							item.IsFolder,
							IconOptions.ReturnIconOnly | (useCurrentScale ? IconOptions.UseCurrentScale : IconOptions.None));

					cancellationToken.ThrowIfCancellationRequested();
				}
			}
			else
			{
				// Get icon or thumbnail
				result = await FileThumbnailHelper.GetIconAsync(
						item.ItemPath,
						thumbnailSize,
						item.IsFolder,
						(returnIconOnly ? IconOptions.ReturnIconOnly : IconOptions.None) | (useCurrentScale ? IconOptions.UseCurrentScale : IconOptions.None));

				cancellationToken.ThrowIfCancellationRequested();
			}

			if (result is not null)
			{
				await dispatcherQueue.EnqueueOrInvokeAsync(async () =>
				{
					// Assign FileImage property
					var image = await result.ToBitmapAsync();
					if (image is not null)
						item.FileImage = image;
				}, Microsoft.UI.Dispatching.DispatcherQueuePriority.Normal);

				cancellationToken.ThrowIfCancellationRequested();
			}

			// Get icon overlay
			var iconOverlay = await FileThumbnailHelper.GetIconOverlayAsync(item.ItemPath, true);

			cancellationToken.ThrowIfCancellationRequested();

			if (iconOverlay is not null)
			{
				await dispatcherQueue.EnqueueOrInvokeAsync(async () =>