Skip to content

Commit

Permalink
Revert "fix: windows chinese ime issue (AppFlowy-IO#682)"
Browse files Browse the repository at this point in the history
This reverts commit 3cd5602.
  • Loading branch information
LucasXu0 committed Feb 1, 2024
1 parent 5f37570 commit a758081
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'dart:io';
import 'dart:math';

import 'package:appflowy_editor/appflowy_editor.dart';
Expand Down Expand Up @@ -203,7 +202,7 @@ class NonDeltaTextInputService extends TextInputService with TextInputClient {
}

// solve the issue where the Chinese IME doesn't continue deleting after the input content has been deleted.
if (Platform.isMacOS && (composingTextRange?.isCollapsed ?? false)) {
if (composingTextRange?.isCollapsed ?? false) {
composingTextRange = TextRange.empty;
}
}
Expand Down

0 comments on commit a758081

Please sign in to comment.