[Glitch] Hide search from Compose on mobile devices

Port f48902e6e6 to glitch-soc
lolsob-rspec
Thibaut Girka 2018-08-31 13:55:43 +02:00 committed by ThibG
parent fb195f37bb
commit 89b50796ba
1 changed files with 9 additions and 9 deletions

View File

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