Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Added icons to voices in menu

t1ennef3ea1128bb14
diff --git a/web/components/common/UserDropdown/UserDropdown.tsx b/web/components/common/UserDropdown/UserDropdown.tsx
index 5c23642344..ca92ebe6ab 100644
--- a/web/components/common/UserDropdown/UserDropdown.tsx
+++ b/web/components/common/UserDropdown/UserDropdown.tsx
@@ -1,5 +1,11 @@
import { Menu, Dropdown, Button, Space } from 'antd';
-import { CaretDownOutlined, UserOutlined } from '@ant-design/icons';
+import {
+ CaretDownOutlined,
+ EditOutlined,
+ LockOutlined,
+ MessageOutlined,
+ UserOutlined,
+} from '@ant-design/icons';
import { useRecoilState, useRecoilValue } from 'recoil';
import { useState } from 'react';
import Modal from '../../ui/Modal/Modal';
@@ -33,12 +39,14 @@ export default function UserDropdown({ username: defaultUsername, chatState }: P
const menu = (
<Menu>
- <Menu.Item key="0" onClick={() => handleChangeName()}>
+ <Menu.Item key="0" icon={<EditOutlined />} onClick={() => handleChangeName()}>
Change name
</Menu.Item>
- <Menu.Item key="1">Authenticate</Menu.Item>
+ <Menu.Item key="1" icon={<LockOutlined />}>
+ Authenticate
+ </Menu.Item>
{chatState === ChatState.Available && (
- <Menu.Item key="3" onClick={() => toggleChatVisibility()}>
+ <Menu.Item key="3" icon={<MessageOutlined />} onClick={() => toggleChatVisibility()}>
Toggle chat
</Menu.Item>
)}