[Glitch] Add search item to tab bar for mobile devices

Port c9cbb8de70 to glitch-soc
This commit is contained in:
Thibaut Girka
2018-08-31 13:54:25 +02:00
committed by ThibG
parent 76a3f373e3
commit 37a00d4c1d
3 changed files with 6 additions and 1 deletions

View File

@@ -437,6 +437,8 @@ export default class UI extends React.Component {
<WrappedRoute path='/bookmarks' component={BookmarkedStatuses} content={children} />
<WrappedRoute path='/pinned' component={PinnedStatuses} content={children} />
<WrappedRoute path='/search' component={Drawer} content={children} componentParams={{ isSearchPage: true }} />
<WrappedRoute path='/statuses/new' component={Drawer} content={children} />
<WrappedRoute path='/statuses/:statusId' exact component={Status} content={children} />
<WrappedRoute path='/statuses/:statusId/reblogs' component={Reblogs} content={children} />