mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 08:48:53 +00:00
Add a setting to automatically unfold all content warnings
This commit is contained in:
@@ -82,8 +82,8 @@ export default class Status extends ImmutablePureComponent {
|
||||
|
||||
state = {
|
||||
fullscreen: false,
|
||||
isExpanded: false,
|
||||
threadExpanded: null,
|
||||
isExpanded: this.props.settings.getIn(['content_warnings', 'auto_unfold']),
|
||||
threadExpanded: undefined,
|
||||
};
|
||||
|
||||
componentWillMount () {
|
||||
|
||||
Reference in New Issue
Block a user