From e16fc900bb1b7c10d27e93c88d4990b3abdac780 Mon Sep 17 00:00:00 2001 From: HuyNguyen Date: Tue, 14 Mar 2023 14:20:27 +0700 Subject: [PATCH] TF1528: Remove func set Full Screen not use (cherry picked from commit aa63031d5943dd5b61212de26fc7b2a1adf8dcb3) --- .../presentation/controller/rich_text_web_controller.dart | 5 ----- 1 file changed, 5 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 97ffd52cf..e6ccb54e5 100644 --- a/lib/features/composer/presentation/controller/rich_text_web_controller.dart +++ b/lib/features/composer/presentation/controller/rich_text_web_controller.dart @@ -174,10 +174,6 @@ class RichTextWebController extends BaseRichTextController { Future get isActivatedCodeView => editorController.isActivatedCodeView(); - void setFullScreenEditor() { - editorController.setFullScreen(); - } - void setEnableCodeView() async { final isActivated = await isActivatedCodeView; if (codeViewEnabled && !isActivated) { @@ -191,7 +187,6 @@ class RichTextWebController extends BaseRichTextController { codeViewState.value = newCodeViewState; editorController.toggleCodeView(); if (isActivated) { - setFullScreenEditor(); editorController.setFullScreen(); } }