mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-14 08:19:05 +00:00
Add a setting to automatically unfold all content warnings
This commit is contained in:
@@ -56,6 +56,7 @@ export default class Status extends ImmutablePureComponent {
|
||||
state = {
|
||||
isCollapsed: false,
|
||||
autoCollapsed: false,
|
||||
isExpanded: this.props.settings.getIn(['content_warnings', 'auto_unfold']),
|
||||
}
|
||||
|
||||
// Avoid checking props that are functions (and whose equality will always
|
||||
|
||||
Reference in New Issue
Block a user