From 2899e38555fcb80b18096a9241a679ee6150e6be Mon Sep 17 00:00:00 2001 From: dab246 Date: Wed, 15 Mar 2023 10:10:32 +0700 Subject: [PATCH] TF-1371 Remove unnecessary `setFullScreen` (cherry picked from commit 163f04a89301a6bcc225f6f07a0445d0093f2ff3) --- .../presentation/controller/rich_text_web_controller.dart | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/features/composer/presentation/controller/rich_text_web_controller.dart b/lib/features/composer/presentation/controller/rich_text_web_controller.dart index fa507b613..476c64342 100644 --- a/lib/features/composer/presentation/controller/rich_text_web_controller.dart +++ b/lib/features/composer/presentation/controller/rich_text_web_controller.dart @@ -186,9 +186,6 @@ class RichTextWebController extends BaseRichTextController { final newCodeViewState = isActivated ? CodeViewState.disabled : CodeViewState.enabled; codeViewState.value = newCodeViewState; editorController.toggleCodeView(); - if (isActivated) { - editorController.setFullScreen(); - } } void applyHeaderStyle(HeaderStyleType? newStyle) {