Fix error conflict when upgrade enough_html_editor
This commit is contained in:
@@ -1019,7 +1019,7 @@ class ComposerController extends BaseController {
|
||||
|
||||
void clearFocusEditor(BuildContext context) {
|
||||
if (!kIsWeb) {
|
||||
htmlEditorApi?.unfocus(context);
|
||||
htmlEditorApi?.unfocus();
|
||||
}
|
||||
FocusManager.instance.primaryFocus?.unfocus();
|
||||
}
|
||||
|
||||
@@ -382,7 +382,7 @@ class IdentityCreatorController extends BaseController {
|
||||
|
||||
void clearFocusEditor(BuildContext context) {
|
||||
if (!BuildUtils.isWeb) {
|
||||
signatureHtmlEditorMobileController?.unfocus(context);
|
||||
signatureHtmlEditorMobileController?.unfocus();
|
||||
}
|
||||
FocusScope.of(context).unfocus();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user