Fix "Hide these posts from home" list setting not refreshing when switching lists (#27763)

This commit is contained in:
Brian Holley 2023-11-13 16:39:54 -08:00 committed by Claire
parent 8f2dac0567
commit 3ecc991f63

View file

@ -201,7 +201,7 @@ class ListTimeline extends PureComponent {
</div>
<div className='setting-toggle'>
<Toggle id={`list-${id}-exclusive`} defaultChecked={isExclusive} onChange={this.onExclusiveToggle} />
<Toggle id={`list-${id}-exclusive`} checked={isExclusive} onChange={this.onExclusiveToggle} />
<label htmlFor={`list-${id}-exclusive`} className='setting-toggle__label'>
<FormattedMessage id='lists.exclusive' defaultMessage='Hide these posts from home' />
</label>