[Glitch] Hide search from Compose on mobile devices

Port f48902e6e6 to glitch-soc
th-downstream
Thibaut Girka 6 years ago committed by ThibG
parent fb195f37bb
commit 89b50796ba

@ -100,15 +100,15 @@ class Drawer extends React.Component {
onSettingsClick={onOpenSettings}
/>
) : null}
<DrawerSearch
intl={intl}
onChange={onChange}
onClear={onClear}
onShow={onShow}
onSubmit={onSubmit}
submitted={submitted}
value={searchValue}
/>
{(multiColumn || isSearchPage) && <DrawerSearch
intl={intl}
onChange={onChange}
onClear={onClear}
onShow={onShow}
onSubmit={onSubmit}
submitted={submitted}
value={searchValue}
/> }
<div className='contents'>
<DrawerAccount account={account} />
{!isSearchPage && <Composer />}

Loading…
Cancel
Save