Add a glitch-soc local setting to make the post publish toast optional (#2666)

This commit is contained in:
Claire
2024-03-08 11:35:18 +01:00
committed by GitHub
parent d002458c7b
commit e95f2c2b68
4 changed files with 18 additions and 6 deletions

View File

@@ -224,6 +224,14 @@ class LocalSettingsPage extends PureComponent {
>
<FormattedMessage id='settings.show_content_type_choice' defaultMessage='Show content-type choice when authoring toots' />
</LocalSettingsPageItem>
<LocalSettingsPageItem
settings={settings}
item={['show_published_toast']}
id='mastodon-settings--show_published_toast'
onChange={onChange}
>
<FormattedMessage id='settings.show_published_toast' defaultMessage='Display toast when publishing/saving a post' />
</LocalSettingsPageItem>
<LocalSettingsPageItem
settings={settings}
item={['side_arm']}