diff --git a/lib/features/composer/presentation/composer_controller.dart b/lib/features/composer/presentation/composer_controller.dart index ac1210a41..72eb18d51 100644 --- a/lib/features/composer/presentation/composer_controller.dart +++ b/lib/features/composer/presentation/composer_controller.dart @@ -1019,7 +1019,7 @@ class ComposerController extends BaseController { void clearFocusEditor(BuildContext context) { if (!kIsWeb) { - htmlEditorApi?.unfocus(context); + htmlEditorApi?.unfocus(); } FocusManager.instance.primaryFocus?.unfocus(); } diff --git a/lib/features/identity_creator/presentation/identity_creator_controller.dart b/lib/features/identity_creator/presentation/identity_creator_controller.dart index 7c39c09b4..0df3cc457 100644 --- a/lib/features/identity_creator/presentation/identity_creator_controller.dart +++ b/lib/features/identity_creator/presentation/identity_creator_controller.dart @@ -382,7 +382,7 @@ class IdentityCreatorController extends BaseController { void clearFocusEditor(BuildContext context) { if (!BuildUtils.isWeb) { - signatureHtmlEditorMobileController?.unfocus(context); + signatureHtmlEditorMobileController?.unfocus(); } FocusScope.of(context).unfocus(); }