Added hamburger and member sidebar icons

This commit is contained in:
nizune
2021-07-08 18:39:03 +02:00
parent eb7b915edb
commit 76f43a4b98
5 changed files with 16 additions and 13 deletions

View File

@@ -1,9 +1,9 @@
import { Sidebar as SidebarIcon } from "@styled-icons/boxicons-regular";
import {
UserPlus,
Cog,
PhoneCall,
PhoneOutgoing,
Group
} from "@styled-icons/boxicons-solid";
import { useHistory } from "react-router-dom";
@@ -65,11 +65,10 @@ export default function HeaderActions({
<VoiceActions channel={channel} />
{(channel.channel_type === "Group" ||
channel.channel_type === "TextChannel") &&
!isTouchscreenDevice && (
<IconButton onClick={toggleSidebar}>
<SidebarIcon size={22} />
<Group size={25} />
</IconButton>
)}
}
</>
);
}