diff --git a/src/shared/components/post/post-listing.tsx b/src/shared/components/post/post-listing.tsx index 03546783..f99e6a77 100644 --- a/src/shared/components/post/post-listing.tsx +++ b/src/shared/components/post/post-listing.tsx @@ -128,10 +128,10 @@ export class PostListing extends Component { componentDidMount(): void { if (UserService.Instance.myUserInfo) { + const { auto_expand, blur_nsfw } = UserService.Instance.myUserInfo.local_user_view.local_user; this.setState({ imageExpanded: - UserService.Instance.myUserInfo.local_user_view.local_user - .auto_expand, + auto_expand && !(blur_nsfw && this.postView.post.nsfw), }); } }