Move copy link to be before settings

This commit is contained in:
James Salter 2021-07-16 09:10:20 +01:00
parent a1c658f187
commit ff80bbc4a5

View file

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