Merge branch 'fix/1231' into 'develop'
Feeding hide network checkbox Closes #1231 See merge request soapbox-pub/soapbox!1989
This commit is contained in:
commit
a494d42fb6
1 changed files with 1 additions and 2 deletions
|
@ -244,7 +244,6 @@ const EditProfile: React.FC = () => {
|
|||
|
||||
const handleHideNetworkChange: React.ChangeEventHandler<HTMLInputElement> = e => {
|
||||
const hide = e.target.checked;
|
||||
|
||||
setData(prevData => {
|
||||
return {
|
||||
...prevData,
|
||||
|
@ -408,7 +407,7 @@ const EditProfile: React.FC = () => {
|
|||
hint={<FormattedMessage id='edit_profile.hints.hide_network' defaultMessage='Who you follow and who follows you will not be shown on your profile' />}
|
||||
>
|
||||
<Toggle
|
||||
checked={account ? hidesNetwork(account) : false}
|
||||
checked={account ? (data.hide_followers && data.hide_follows && data.hide_followers_count && data.hide_follows_count) : false}
|
||||
onChange={handleHideNetworkChange}
|
||||
/>
|
||||
</ListItem>
|
||||
|
|
Loading…
Reference in a new issue