diff options
author | Thibaut Girka <thib@sitedethib.com> | 2020-10-26 20:11:35 +0100 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2020-10-26 20:31:54 +0100 |
commit | ea5298ab9b4b989119218807281b68d19756cd7a (patch) | |
tree | 1342afdc12154d97365a3efb792efcd3c1fa059c /app/javascript/flavours/glitch/features/local_settings | |
parent | 5ee2b860f902871c1f38ae0e9b8f333b38c73bbe (diff) |
Add setting to disable the pop-in player
Diffstat (limited to 'app/javascript/flavours/glitch/features/local_settings')
-rw-r--r-- | app/javascript/flavours/glitch/features/local_settings/page/index.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/features/local_settings/page/index.js b/app/javascript/flavours/glitch/features/local_settings/page/index.js index 0b3428027..bce45901e 100644 --- a/app/javascript/flavours/glitch/features/local_settings/page/index.js +++ b/app/javascript/flavours/glitch/features/local_settings/page/index.js @@ -420,6 +420,14 @@ class LocalSettingsPage extends React.PureComponent { > <FormattedMessage id='settings.media_reveal_behind_cw' defaultMessage='Reveal sensitive media behind a CW by default' /> </LocalSettingsPageItem> + <LocalSettingsPageItem + settings={settings} + item={['media', 'pop_in_player']} + id='mastodon-settings--pop-in-player' + onChange={onChange} + > + <FormattedMessage id='settings.pop_in_player' defaultMessage='Enable pop-in player' /> + </LocalSettingsPageItem> </div> ), ]; |