diff options
author | Ondřej Hruška <ondra@ondrovo.com> | 2017-07-22 19:51:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-22 19:51:34 +0200 |
commit | 74a0cc6a119f64ff368945523260408323b364e8 (patch) | |
tree | b27a85b0c470523d35e52af9262dd69dfb9d7a57 /app/javascript/glitch/components | |
parent | 984d2d4cb626dd3a4da707ecf1e8ad45b476d8fb (diff) |
Added settings toggle to move the navbar at the bottom in mobile view (#93)
Diffstat (limited to 'app/javascript/glitch/components')
-rw-r--r-- | app/javascript/glitch/components/local_settings/page/index.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/javascript/glitch/components/local_settings/page/index.js b/app/javascript/glitch/components/local_settings/page/index.js index 8635b604f..cb041c0b8 100644 --- a/app/javascript/glitch/components/local_settings/page/index.js +++ b/app/javascript/glitch/components/local_settings/page/index.js @@ -53,6 +53,14 @@ export default class LocalSettingsPage extends React.PureComponent { > <FormattedMessage id='settings.wide_view' defaultMessage='Wide view (Desktop mode only)' /> </LocalSettingsPageItem> + <LocalSettingsPageItem + settings={settings} + item={['navbar_under']} + id='mastodon-settings--navbar_under' + onChange={onChange} + > + <FormattedMessage id='settings.navbar_under' defaultMessage='Navbar at the bottom (Mobile only)' /> + </LocalSettingsPageItem> </div> ), ({ onChange, settings }) => ( |