[Glitch] Hide search from Compose on mobile devices

Port 0893b16695 to glitch-soc
master
Thibaut Girka 6 years ago committed by ThibG
parent 37a00d4c1d
commit 4686b3fa76
  1. 4
      app/javascript/flavours/glitch/features/drawer/index.js

@ -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 />}

Loading…
Cancel
Save