diff --git a/src/Files.App/ViewModels/UserControls/InfoPaneViewModel.cs b/src/Files.App/ViewModels/UserControls/InfoPaneViewModel.cs index c82af525c85c..b6949d59ac48 100644 --- a/src/Files.App/ViewModels/UserControls/InfoPaneViewModel.cs +++ b/src/Files.App/ViewModels/UserControls/InfoPaneViewModel.cs @@ -206,6 +206,7 @@ private async Task GetBuiltInPreviewControlAsync(ListedItem item, b var ext = item.FileExtension.ToLowerInvariant(); if (!item.IsFtpItem && + contentPageContextService.PageType != ContentPageTypes.ZipFolder && (FileExtensionHelpers.IsAudioFile(ext) || FileExtensionHelpers.IsVideoFile(ext))) { var model = new MediaPreviewViewModel(item); diff --git a/src/Files.Core.SourceGenerator/Files.Core.SourceGenerator.csproj b/src/Files.Core.SourceGenerator/Files.Core.SourceGenerator.csproj index b6812b68d310..3a2d317dd330 100644 --- a/src/Files.Core.SourceGenerator/Files.Core.SourceGenerator.csproj +++ b/src/Files.Core.SourceGenerator/Files.Core.SourceGenerator.csproj @@ -11,7 +11,7 @@ - +