Skip to content

Commit 4e444dd

Browse files
committed
Comments
1 parent de0ea8c commit 4e444dd

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/Files.App/Helpers/Layout/LayoutSizeKindHelper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ public static int GetListViewRowHeight(ListViewSizeKind listViewSizeKind)
9494
}
9595

9696
/// <summary>
97-
/// Gets the desired icon size for specified layout
97+
/// Gets the desired icon size for the requested layout
9898
/// </summary>
99-
/// <param name="listViewSizeKind"></param>
99+
/// <param name="folderLayoutMode"></param>
100100
/// <returns></returns>
101101
public static uint GetIconSize(FolderLayoutModes folderLayoutMode)
102102
{

src/Files.App/ViewModels/ShellViewModel.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -975,6 +975,8 @@ private async Task LoadThumbnailAsync(ListedItem item, CancellationToken cancell
975975
var loadNonCachedThumbnail = false;
976976
var thumbnailSize = LayoutSizeKindHelper.GetIconSize(folderSettings.LayoutMode);
977977
var returnIconOnly = UserSettingsService.FoldersSettingsService.ShowThumbnails == false || thumbnailSize < 48;
978+
979+
// TODO Remove this property when all the layouts can support different icon sizes
978980
var useCurrentScale = folderSettings.LayoutMode == FolderLayoutModes.DetailsView || folderSettings.LayoutMode == FolderLayoutModes.ListView;
979981

980982
byte[]? result = null;

0 commit comments

Comments
 (0)