File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ import { _t } from 'matrix-react-sdk/lib/languageHandler';
2020import dis from 'matrix-react-sdk/lib/dispatcher' ;
2121import TagOrderActions from 'matrix-react-sdk/lib/actions/TagOrderActions' ;
2222import MatrixClientPeg from 'matrix-react-sdk/lib/MatrixClientPeg' ;
23+ import sdk from 'matrix-react-sdk/lib/index' ;
2324
2425export default class TagTileContextMenu extends React . Component {
2526 static propTypes = {
@@ -53,9 +54,15 @@ export default class TagTileContextMenu extends React.Component {
5354 }
5455
5556 render ( ) {
57+ const TintableSvg = sdk . getComponent ( "elements.TintableSvg" ) ;
5658 return < div >
5759 < div className = "mx_TagTileContextMenu_item" onClick = { this . _onViewCommunityClick } >
58- < img className = "mx_TagTileContextMenu_item_icon" src = "img/icons-groups.svg" width = "15" height = "15" />
60+ < TintableSvg
61+ className = "mx_TagTileContextMenu_item_icon"
62+ src = "img/icons-groups.svg"
63+ width = "15"
64+ height = "15"
65+ />
5966 { _t ( 'View Community' ) }
6067 </ div >
6168 < hr className = "mx_TagTileContextMenu_separator" />
You can’t perform that action at this time.
0 commit comments