Commit 1dd34c5
allow files with a utType that is neither image nor PDF to be previewed (#1822)
* important fix to preview fileDocuments (using QuickLook) that have a utType but are neither images nor PDFs
See #1783
* make `NonTextFileView` a bit more readable
* nest duplicate `utType` if checks in `NonTextFileView`
* Update CodeEdit/Features/Editor/Views/NonTextFileView.swift
---------
Co-authored-by: Austin Condiff <austin.condiff@gmail.com>1 parent 8818cdf commit 1dd34c5
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
| |||
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
40 | | - | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
51 | | - | |
52 | 52 | | |
53 | 53 | | |
0 commit comments