TF-2092 Persist selected signature while expanding and minimizing the editor
(cherry picked from commit 6c2830d99b5cb0fd87ff530b3ec57cd2cdf1ff73)
This commit is contained in:
@@ -376,7 +376,9 @@ class ComposerController extends BaseController {
|
|||||||
_onChangeCursorOnMobile(coordinates, context);
|
_onChangeCursorOnMobile(coordinates, context);
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
_getAllIdentities();
|
if (identitySelected.value == null) {
|
||||||
|
_getAllIdentities();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void _initEmail() {
|
void _initEmail() {
|
||||||
@@ -1196,11 +1198,6 @@ class ComposerController extends BaseController {
|
|||||||
_updateTextForEditor();
|
_updateTextForEditor();
|
||||||
screenDisplayMode.value = displayMode;
|
screenDisplayMode.value = displayMode;
|
||||||
_autoFocusFieldWhenLauncher();
|
_autoFocusFieldWhenLauncher();
|
||||||
|
|
||||||
Future.delayed(
|
|
||||||
const Duration(milliseconds: 500),
|
|
||||||
() => selectIdentity(identitySelected.value)
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void _updateTextForEditor() async {
|
void _updateTextForEditor() async {
|
||||||
@@ -1645,7 +1642,9 @@ class ComposerController extends BaseController {
|
|||||||
richTextWebController.editorController.setFullScreen();
|
richTextWebController.editorController.setFullScreen();
|
||||||
onChangeTextEditorWeb(initContent);
|
onChangeTextEditorWeb(initContent);
|
||||||
richTextWebController.setEnableCodeView();
|
richTextWebController.setEnableCodeView();
|
||||||
_getAllIdentities();
|
if (identitySelected.value == null) {
|
||||||
|
_getAllIdentities();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void handleOnFocusHtmlEditorWeb() {
|
void handleOnFocusHtmlEditorWeb() {
|
||||||
|
|||||||
Reference in New Issue
Block a user