mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-23 21:38:07 +01:00
[Glitch] Hide search from Compose on mobile devices
Port 0893b16695
to glitch-soc
This commit is contained in:
parent
37a00d4c1d
commit
4686b3fa76
1 changed files with 9 additions and 9 deletions
|
@ -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…
Reference in a new issue