change hide community icon in context menu

pull/21833/head
Bruno Windels 2020-07-07 12:16:31 +02:00
parent 38ff58f8dd
commit 1ef73958f3
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M1.74889 6.95039C2.29001 6.28246 2.98613 5.54443 3.83039 4.88884L5.69202 6.75047C5.2553 7.39143 5 8.1659 5 9C5 11.2091 6.79086 13 9 13C9.8341 13 10.6086 12.7447 11.2495 12.308L12.9251 13.9836C11.8136 14.5897 10.5052 15 9 15C5.51954 15 3.0914 12.806 1.7156 11.0714C0.745735 9.84863 0.766473 8.16305 1.74889 6.95039ZM12.9305 9.74631L15.3314 12.1473C15.6913 11.7844 16.0089 11.4187 16.2844 11.0714C17.2543 9.84863 17.2335 8.16305 16.2511 6.95039C14.8432 5.21247 12.3858 3 9 3C8.13025 3 7.32178 3.14599 6.57662 3.39243L8.25369 5.0695C8.49547 5.02387 8.74495 5 9 5C11.2091 5 13 6.79086 13 9C13 9.25505 12.9761 9.50453 12.9305 9.74631Z" fill="black"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.15892 8.21741C7.05661 8.45779 7 8.7223 7 9.00003C7 10.1046 7.89543 11 9 11C9.27773 11 9.54224 10.9434 9.78262 10.8411L7.15892 8.21741Z" fill="black"/>
<path d="M1 1L17 17" stroke="black" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round"/>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -68,7 +68,7 @@ export default class TagTileContextMenu extends React.Component {
</MenuItem>
<hr className="mx_TagTileContextMenu_separator" role="separator" />
<MenuItem className="mx_TagTileContextMenu_item" onClick={this._onRemoveClick}>
<img className="mx_TagTileContextMenu_item_icon" src={require("../../../../res/img/icon_context_delete.svg")} width="15" height="15" alt="" />
<img className="mx_TagTileContextMenu_item_icon" src={require("../../../../res/img/element-icons/hide.svg")} width="15" height="15" alt="" />
{ _t('Hide') }
</MenuItem>
</div>;