Add new icon set for history view (Translated, Unknown)

This commit is contained in:
LASER-Yi 2022-06-11 18:48:01 +08:00
parent a7b1b2a454
commit 056e00bcfb
1 changed files with 9 additions and 0 deletions

View File

@ -1,7 +1,9 @@
import {
faClock,
faClosedCaptioning,
faCloudUploadAlt,
faDownload,
faLanguage,
faRecycle,
faTrash,
faUser,
@ -16,6 +18,7 @@ enum HistoryAction {
Upgrade,
Upload,
Sync,
Translated,
}
const HistoryIcon: FunctionComponent<{
@ -42,6 +45,12 @@ const HistoryIcon: FunctionComponent<{
case HistoryAction.Upload:
icon = faCloudUploadAlt;
break;
case HistoryAction.Translated:
icon = faLanguage;
break;
default:
icon = faClosedCaptioning;
break;
}
if (icon) {