Skip to content

fix: recheck text on changing language#96

Open
andrew-bekhiet-solid wants to merge 2 commits intosolid-software:mainfrom
andrew-bekhiet-solid:fix-stale-mistakes-on-language-change
Open

fix: recheck text on changing language#96
andrew-bekhiet-solid wants to merge 2 commits intosolid-software:mainfrom
andrew-bekhiet-solid:fix-stale-mistakes-on-language-change

Conversation

@andrew-bekhiet-solid
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the LanguageToolController to automatically trigger a text re-check when the language is changed and includes corresponding updates to the CHANGELOG.md. A review comment suggests optimizing the language setter by adding guards to prevent redundant API calls when the language remains the same, the controller is disabled, or the text is empty.

Comment thread lib/src/core/controllers/language_tool_controller.dart
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.

1 participant