Skip to content

Commit

Permalink
Fix text field spell check causing exception on ** text (#1465)
Browse files Browse the repository at this point in the history
fixed issue with spell check causing exception on ** text
  • Loading branch information
hjiangsu authored Jun 24, 2024
1 parent b39f929 commit 3ee5e52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/comment/view/create_comment_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ class _CreateCommentPageState extends State<CreateCommentPage> {
minLines: 8,
maxLines: null,
textStyle: theme.textTheme.bodyLarge,
spellCheckConfiguration: const SpellCheckConfiguration.disabled(),
),
),
crossFadeState: showPreview ? CrossFadeState.showFirst : CrossFadeState.showSecond,
Expand Down
1 change: 1 addition & 0 deletions lib/community/pages/create_post_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,7 @@ class _CreatePostPageState extends State<CreatePostPage> {
minLines: 8,
maxLines: null,
textStyle: theme.textTheme.bodyLarge,
spellCheckConfiguration: const SpellCheckConfiguration.disabled(),
),
crossFadeState: showPreview ? CrossFadeState.showFirst : CrossFadeState.showSecond,
duration: const Duration(milliseconds: 120),
Expand Down

0 comments on commit 3ee5e52

Please sign in to comment.