TF-1832 Enable drag horizontal scroll attachment in composer

(cherry picked from commit a09ed39d4ebdf311746048658e5db6393bfb5b65)
This commit is contained in:
dab246
2023-05-11 16:17:39 +07:00
committed by Dat Vu
parent a9e5483b03
commit 1625a8ee2f
3 changed files with 30 additions and 16 deletions
@@ -135,6 +135,7 @@ class ComposerController extends BaseController {
final ScrollController scrollController = ScrollController();
final ScrollController scrollControllerEmailAddress = ScrollController();
final ScrollController scrollControllerAttachment = ScrollController();
List<Attachment> initialAttachments = <Attachment>[];
String? _textEditorWeb;
@@ -267,6 +268,7 @@ class ComposerController extends BaseController {
scrollController.dispose();
scrollControllerEmailAddress.removeListener(_scrollControllerEmailAddressListener);
scrollControllerEmailAddress.dispose();
scrollControllerAttachment.dispose();
super.dispose();
}