From d0e9728c26e5bf087b3e7b6feb2c7ac481db2f53 Mon Sep 17 00:00:00 2001 From: ajbura Date: Mon, 7 Feb 2022 15:45:57 +0530 Subject: [PATCH] Change icon of join public room button Signed-off-by: ajbura --- src/app/organisms/navigation/DrawerHeader.jsx | 44 +++++++++---------- 1 file changed, 21 insertions(+), 23 deletions(-) diff --git a/src/app/organisms/navigation/DrawerHeader.jsx b/src/app/organisms/navigation/DrawerHeader.jsx index 67486b62..198e61e8 100644 --- a/src/app/organisms/navigation/DrawerHeader.jsx +++ b/src/app/organisms/navigation/DrawerHeader.jsx @@ -23,7 +23,7 @@ import SpaceOptions from '../../molecules/space-options/SpaceOptions'; import PlusIC from '../../../../public/res/ic/outlined/plus.svg'; import HashPlusIC from '../../../../public/res/ic/outlined/hash-plus.svg'; -import HashSearchIC from '../../../../public/res/ic/outlined/hash-search.svg'; +import HashGlobeIC from '../../../../public/res/ic/outlined/hash-globe.svg'; import ChevronBottomIC from '../../../../public/res/ic/outlined/chevron-bottom.svg'; import PinIC from '../../../../public/res/ic/outlined/pin.svg'; import PinFilledIC from '../../../../public/res/ic/filled/pin.svg'; @@ -79,28 +79,26 @@ function DrawerHeader({ selectedTab, spaceId }) { )} { selectedTab === cons.tabs.DIRECTS && openInviteUser()} tooltip="Start DM" src={PlusIC} size="normal" /> } { selectedTab !== cons.tabs.DIRECTS && !spaceName && ( - <> - ( - <> - Add room - { hideMenu(); openCreateRoom(); }} - > - Create new room - - { hideMenu(); openPublicRooms(); }} - > - Add public room - - - )} - render={(toggleMenu) => ()} - /> - + ( + <> + Add room + { hideMenu(); openCreateRoom(); }} + > + Create new room + + { hideMenu(); openPublicRooms(); }} + > + Join public room + + + )} + render={(toggleMenu) => ()} + /> )} );