From df136bb8c833f51cee126c1d96b3149da400cd41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Tue, 26 Jul 2022 12:42:15 +0200 Subject: [PATCH] Use file-spreadsheet icon MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- app/soapbox/features/compose/components/upload.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/soapbox/features/compose/components/upload.tsx b/app/soapbox/features/compose/components/upload.tsx index df64fdbb3..5c9788575 100644 --- a/app/soapbox/features/compose/components/upload.tsx +++ b/app/soapbox/features/compose/components/upload.tsx @@ -13,8 +13,8 @@ import Motion from '../../ui/util/optional_motion'; import type { Map as ImmutableMap } from 'immutable'; const bookIcon = require('@tabler/icons/book.svg'); -const fileAnalyticsIcon = require('@tabler/icons/file-analytics.svg'); const fileCodeIcon = require('@tabler/icons/file-code.svg'); +const fileSpreadsheetIcon = require('@tabler/icons/file-spreadsheet.svg'); const fileTextIcon = require('@tabler/icons/file-text.svg'); const fileZipIcon = require('@tabler/icons/file-zip.svg'); const defaultIcon = require('@tabler/icons/paperclip.svg'); @@ -39,9 +39,9 @@ export const MIMETYPE_ICONS: Record = { 'application/xhtml+xml': fileCodeIcon, 'application/xml': fileCodeIcon, 'application/epub+zip': bookIcon, - 'application/vnd.oasis.opendocument.spreadsheet': fileAnalyticsIcon, - 'application/vnd.ms-excel': fileAnalyticsIcon, - 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': fileAnalyticsIcon, + 'application/vnd.oasis.opendocument.spreadsheet': fileSpreadsheetIcon, + 'application/vnd.ms-excel': fileSpreadsheetIcon, + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': fileSpreadsheetIcon, 'application/pdf': fileTextIcon, 'application/vnd.oasis.opendocument.presentation': presentationIcon, 'application/vnd.ms-powerpoint': presentationIcon,