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: TextParser tries to modify unmodifiable list #9

Merged
merged 1 commit into from
May 19, 2023

Conversation

krille-chan
Copy link
Collaborator

@krille-chan krille-chan commented May 16, 2023

textSpan.children became an unmodifiable List in Flutter 3.10 so this bug breaks flutter_matrix_html. This pull request fixes it by returning a new TextSpan with a copied list instead.

@krille-chan krille-chan force-pushed the krille/fix-trying-modify-unmodifiable-list branch from 201bd33 to 97ab298 Compare May 16, 2023 07:22
@Sorunome Sorunome merged commit 97ab298 into master May 19, 2023
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.

2 participants