Skip to content

Commit d78f86d

Browse files
[Super Editor] - Fix typo in "_openSoftareKeyboard" (Resolves #2355) (#2541)
1 parent b5a6ea8 commit d78f86d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

super_editor/lib/src/default_editor/super_editor.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ class SuperEditorState extends State<SuperEditor> {
664664
widget.keyboardActions ??
665665
(inputSource == TextInputSource.ime ? defaultImeKeyboardActions : defaultKeyboardActions);
666666

667-
void _openSoftareKeyboard() {
667+
void _openSoftwareKeyboard() {
668668
if (!_softwareKeyboardController.hasDelegate) {
669669
// There is no IME connection. It isn't possible to request the keyboard.
670670
return;
@@ -898,7 +898,7 @@ class SuperEditorState extends State<SuperEditor> {
898898
getDocumentLayout: () => editContext.documentLayout,
899899
selection: editContext.composer.selectionNotifier,
900900
openKeyboardWhenTappingExistingSelection: widget.selectionPolicies.openKeyboardWhenTappingExistingSelection,
901-
openSoftwareKeyboard: _openSoftareKeyboard,
901+
openSoftwareKeyboard: _openSoftwareKeyboard,
902902
contentTapHandlers: [
903903
..._contentTapHandlers ?? [],
904904
for (final plugin in widget.plugins) //
@@ -918,7 +918,7 @@ class SuperEditorState extends State<SuperEditor> {
918918
getDocumentLayout: () => editContext.documentLayout,
919919
selection: editContext.composer.selectionNotifier,
920920
openKeyboardWhenTappingExistingSelection: widget.selectionPolicies.openKeyboardWhenTappingExistingSelection,
921-
openSoftwareKeyboard: _openSoftareKeyboard,
921+
openSoftwareKeyboard: _openSoftwareKeyboard,
922922
isImeConnected: _isImeConnected,
923923
contentTapHandlers: [
924924
..._contentTapHandlers ?? [],

0 commit comments

Comments
 (0)