[Peek]Fix IsDevFilePreview and white flash (#28734)

This commit is contained in:
Jaime Bernardo
2023-09-25 16:23:30 +01:00
committed by GitHub
parent 28bd0686cc
commit a1e0bd5161
2 changed files with 29 additions and 5 deletions

View File

@@ -118,6 +118,8 @@ namespace Peek.FilePreviewer.Previewers
}
else
{
// Simple html file to preview. Shouldn't do things like enabling scripts or using a virtual mapped directory.
IsDevFilePreview = false;
Preview = new Uri(File.Path);
}
});