mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-02-13 22:23:48 -05:00
[Glitch] Hide search from Compose on mobile devices
Port 0893b1669548858daee79ab1260fb98646a0b3fa to glitch-soc
This commit is contained in:
parent
37a00d4c1d
commit
4686b3fa76
@ -100,15 +100,15 @@ 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}
|
||||||
onShow={onShow}
|
onShow={onShow}
|
||||||
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…
x
Reference in New Issue
Block a user