Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Reply Text Showing In Reply Thread Popup #4101

Merged
merged 2 commits into from
Nov 2, 2022

Conversation

dnsge
Copy link
Contributor

@dnsge dnsge commented Nov 2, 2022

Pull request checklist:

  • CHANGELOG.md was updated, if applicable

There have been so many changes to the reply thread changelog entry (and this is a bugfix to a bugfix) that I really don't care if we don't add this PR to the changelog.

Description

#4092 Introduced the following bug:
image
The reply text is improperly rendered in the reply thread popup.

This PR fixes the bug. The bug itself is my fault because, during the (extensive) changes made to my original reply threads PR, I changed around how hiding the reply message elements worked. This change eliminates the setRenderReplies method which became unused at some point.

Also: sorry for the unrelated change of extracting the accessing of setting values. I just couldn't leave the repeated calls that could easily be reused.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

src/messages/layouts/MessageLayout.cpp Show resolved Hide resolved
Copy link
Member

@pajlada pajlada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 nice and readable

@pajlada pajlada enabled auto-merge (squash) November 2, 2022 23:20
@pajlada pajlada merged commit 36402a2 into Chatterino:master Nov 2, 2022
@dnsge dnsge deleted the fix/hide-reply-text-in-popup branch November 2, 2022 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants