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

pull/1874/head
LASER-Yi 3 years ago
parent a7b1b2a454
commit 056e00bcfb

@ -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) {

Loading…
Cancel
Save