Add a setting to automatically unfold all content warnings

This commit is contained in:
Thibaut Girka
2018-08-28 14:10:26 +02:00
committed by ThibG
parent 130bdb5ee8
commit 9d2739d74d
5 changed files with 31 additions and 7 deletions

View File

@@ -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 () {