Merge branch 'main' into error-page-fix

This commit is contained in:
SleeplessOne1917 2024-01-02 22:39:47 +00:00 committed by GitHub
commit 0f5c34da2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -128,10 +128,10 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
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),
});
}
}