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: Ensure initial status length calculation includes the content warning #821

Merged
merged 1 commit into from
Jul 14, 2024

Conversation

nikclayton
Copy link
Contributor

Previous code set doOnTextChanged listener for the content warning after the initial value had been set. This meant the initial content warning text was not included when calculating the status' initial length.

Fix that by setting the listener before the text is set.

Fixes #815

…rning

Previous code set `doOnTextChanged` listener for the content warning
*after* the initial value had been set. This meant the initial content
warning text was not included when calculating the status' initial
length.

Fix that by setting the listener before the text is set.

Fixes pachli#815
@nikclayton nikclayton merged commit 311e451 into pachli:main Jul 14, 2024
23 checks passed
@nikclayton nikclayton deleted the 815-cw-and-character-limit branch July 14, 2024 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Character limit calculated wrong on CW replies
1 participant