TF-3479 Add hide button for composer
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -1609,10 +1609,10 @@ class ComposerController extends BaseController
|
||||
}
|
||||
|
||||
void displayScreenTypeComposerAction(ScreenDisplayMode displayMode) async {
|
||||
if (screenDisplayMode.value == ScreenDisplayMode.minimize) {
|
||||
if (screenDisplayMode.value.isNotContentVisible()) {
|
||||
_isEmailBodyLoaded = false;
|
||||
}
|
||||
if (richTextWebController != null && screenDisplayMode.value != ScreenDisplayMode.minimize) {
|
||||
if (richTextWebController != null && !screenDisplayMode.value.isNotContentVisible()) {
|
||||
final textCurrent = await richTextWebController!.editorController.getText();
|
||||
richTextWebController!.editorController.setText(textCurrent);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user