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 c42b2d7 commit 68cccf0Copy full SHA for 68cccf0
src/Files.App/ViewModels/UserControls/PreviewPaneViewModel.cs
@@ -290,7 +290,8 @@ public async Task UpdateSelectedItemPreviewAsync(bool downloadItem = false)
290
{
291
PreviewPaneState = PreviewPaneStates.LoadingPreview;
292
293
- if (previewSettingsService.ShowPreviewOnly)
+ if (previewSettingsService.ShowPreviewOnly ||
294
+ SelectedItem?.PrimaryItemAttribute == StorageItemTypes.Folder)
295
296
loadCancellationTokenSource = new CancellationTokenSource();
297
await LoadPreviewControlAsync(loadCancellationTokenSource.Token, downloadItem);
0 commit comments