aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpacien2020-05-19 21:09:58 +0200
committerNotkea2020-05-22 01:02:18 +0200
commit932d6449094920d7ca10f76eeaac58e142d2763b (patch)
tree26cdb0d3aa7444b847d2df60b4db6fcf4eb39ccc
parent516ee7c5599f2c90a636fd9301806bef67830046 (diff)
downloadldgallery-932d6449094920d7ca10f76eeaac58e142d2763b.tar.gz
viewer: add audio and video icons
-rw-r--r--viewer/src/plugins/fontawesome-icons.ts2
-rw-r--r--viewer/src/services/navigation.ts4
2 files changed, 6 insertions, 0 deletions
diff --git a/viewer/src/plugins/fontawesome-icons.ts b/viewer/src/plugins/fontawesome-icons.ts
index ffe3709..51eda7e 100644
--- a/viewer/src/plugins/fontawesome-icons.ts
+++ b/viewer/src/plugins/fontawesome-icons.ts
@@ -33,5 +33,7 @@ export {
33 faFile, 33 faFile,
34 faFileAlt, 34 faFileAlt,
35 faFilePdf, 35 faFilePdf,
36 faFileVideo,
37 faFileAudio,
36 faFileDownload, 38 faFileDownload,
37} from "@fortawesome/free-solid-svg-icons"; 39} from "@fortawesome/free-solid-svg-icons";
diff --git a/viewer/src/services/navigation.ts b/viewer/src/services/navigation.ts
index f96904d..068d081 100644
--- a/viewer/src/services/navigation.ts
+++ b/viewer/src/services/navigation.ts
@@ -74,6 +74,10 @@ export default class Navigation {
74 return "file-alt"; 74 return "file-alt";
75 case "pdf": 75 case "pdf":
76 return "file-pdf"; 76 return "file-pdf";
77 case "video":
78 return "file-video";
79 case "audio":
80 return "file-audio";
77 case "directory": 81 case "directory":
78 return "folder"; 82 return "folder";
79 case "other": 83 case "other":