[Glitch] Hide floating action button on search and getting started pages

Port 180a665f29 to glitch-soc
th-downstream
Thibaut Girka 6 years ago
parent 30f3dad8e8
commit 8dea30a0c7

@ -30,7 +30,7 @@ const componentMap = {
'LIST': ListTimeline,
};
const shouldHideFAB = path => path.match(/^\/statuses\//);
const shouldHideFAB = path => path.match(/^\/statuses\/|^\/search|^\/getting-started/);
const messages = defineMessages({
publish: { id: 'compose_form.publish', defaultMessage: 'Toot' },

Loading…
Cancel
Save