Set Menu icon to link

pull/21833/head
James Salter 2021-07-16 09:07:52 +01:00
parent 7464900f95
commit a1c658f187
2 changed files with 5 additions and 1 deletions

View File

@ -193,6 +193,10 @@ limitations under the License.
mask-image: url('$(res)/img/element-icons/settings.svg'); mask-image: url('$(res)/img/element-icons/settings.svg');
} }
.mx_RoomTile_iconCopyLink::before {
mask-image: url('$(res)/img/element-icons/link.svg');
}
.mx_RoomTile_iconInvite::before { .mx_RoomTile_iconInvite::before {
mask-image: url('$(res)/img/element-icons/room/invite.svg'); mask-image: url('$(res)/img/element-icons/room/invite.svg');
} }

View File

@ -536,7 +536,7 @@ export default class RoomTile extends React.PureComponent<IProps, IState> {
<IconizedContextMenuOption <IconizedContextMenuOption
onClick={this.onCopyRoomClick} onClick={this.onCopyRoomClick}
label={_t("Copy Link")} label={_t("Copy Link")}
iconClassName="mx_RoomTile_iconSettings" iconClassName="mx_RoomTile_iconCopyLink"
/> />
</IconizedContextMenuOptionList> </IconizedContextMenuOptionList>
<IconizedContextMenuOptionList red> <IconizedContextMenuOptionList red>