aboutsummaryrefslogtreecommitdiff
path: root/viewer
diff options
context:
space:
mode:
authorpacien2020-05-18 20:05:32 +0200
committerNotkea2020-05-22 01:02:18 +0200
commit185b84fbed180e4d2da7d4cc2ee91a3481f47406 (patch)
tree259e14dca6ef5f43493fd47b0e36f95b52e26e96 /viewer
parente9e46a3b3392ab435f7414729592b2b5af4071b6 (diff)
downloadldgallery-185b84fbed180e4d2da7d4cc2ee91a3481f47406.tar.gz
viewer: add icon for pdf files
Diffstat (limited to 'viewer')
-rw-r--r--viewer/src/plugins/fontawesome-icons.ts1
-rw-r--r--viewer/src/services/navigation.ts2
2 files changed, 3 insertions, 0 deletions
diff --git a/viewer/src/plugins/fontawesome-icons.ts b/viewer/src/plugins/fontawesome-icons.ts
index b5df176..ffe3709 100644
--- a/viewer/src/plugins/fontawesome-icons.ts
+++ b/viewer/src/plugins/fontawesome-icons.ts
@@ -32,5 +32,6 @@ export {
32 faAngleDoubleLeft, 32 faAngleDoubleLeft,
33 faFile, 33 faFile,
34 faFileAlt, 34 faFileAlt,
35 faFilePdf,
35 faFileDownload, 36 faFileDownload,
36} from "@fortawesome/free-solid-svg-icons"; 37} from "@fortawesome/free-solid-svg-icons";
diff --git a/viewer/src/services/navigation.ts b/viewer/src/services/navigation.ts
index 4d3b376..7d1ae50 100644
--- a/viewer/src/services/navigation.ts
+++ b/viewer/src/services/navigation.ts
@@ -72,6 +72,8 @@ export default class Navigation {
72 return "image"; 72 return "image";
73 case "plaintext": 73 case "plaintext":
74 return "file-alt"; 74 return "file-alt";
75 case "pdf":
76 return "file-pdf";
75 case "directory": 77 case "directory":
76 return "folder"; 78 return "folder";
77 case "other": 79 case "other":