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

Loading…
Cancel
Save