From 217ae3ecf79a4972d3df5a20e822aaa3f1da79c3 Mon Sep 17 00:00:00 2001 From: infinite-persistence Date: Wed, 24 Feb 2021 10:19:10 +0800 Subject: [PATCH] Fix broken 'Open File' icon color ## Issue The removal of `svg` from `media__subtitle` in 09b689ba made the icon black. ## Fix Both 'Open File' and 'Download' should have the same css class. --- ui/component/fileDownloadLink/view.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/component/fileDownloadLink/view.jsx b/ui/component/fileDownloadLink/view.jsx index fd86be3ee..670048df1 100644 --- a/ui/component/fileDownloadLink/view.jsx +++ b/ui/component/fileDownloadLink/view.jsx @@ -13,7 +13,7 @@ type Props = { fileInfo: ?FileListItem, openModal: (id: string, { path: string }) => void, pause: () => void, - download: string => void, + download: (string) => void, costInfo: ?{ cost: string }, buttonType: ?string, showLabel: ?boolean, @@ -91,6 +91,7 @@ function FileDownloadLink(props: Props) { return hideOpenButton ? null : (