From c0055ebbeb6ee20157afcbdeadccc1aa1152011d Mon Sep 17 00:00:00 2001 From: lukebarnard Date: Wed, 21 Feb 2018 21:27:02 +0000 Subject: [PATCH] Fix un-tinted "View Community" icon in TagTile context menu --- src/components/views/context_menus/TagTileContextMenu.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/components/views/context_menus/TagTileContextMenu.js b/src/components/views/context_menus/TagTileContextMenu.js index 4ec6c5150f..576e8485a8 100644 --- a/src/components/views/context_menus/TagTileContextMenu.js +++ b/src/components/views/context_menus/TagTileContextMenu.js @@ -20,6 +20,7 @@ import { _t } from 'matrix-react-sdk/lib/languageHandler'; import dis from 'matrix-react-sdk/lib/dispatcher'; import TagOrderActions from 'matrix-react-sdk/lib/actions/TagOrderActions'; import MatrixClientPeg from 'matrix-react-sdk/lib/MatrixClientPeg'; +import sdk from 'matrix-react-sdk/lib/index'; export default class TagTileContextMenu extends React.Component { static propTypes = { @@ -53,9 +54,15 @@ export default class TagTileContextMenu extends React.Component { } render() { + const TintableSvg = sdk.getComponent("elements.TintableSvg"); return
- + { _t('View Community') }