TF-2068 Remove ScrollController avoid error
(cherry picked from commit 23615409a076e79ab9b03c0739e8b978b77afc6b)
This commit is contained in:
@@ -117,8 +117,6 @@ class SingleEmailController extends BaseController with AppLoaderMixin {
|
||||
Identity? _identitySelected;
|
||||
String? initialEmailContents;
|
||||
|
||||
final ScrollController scrollControllerAttachment = ScrollController();
|
||||
|
||||
final StreamController<Either<Failure, Success>> _downloadProgressStateController =
|
||||
StreamController<Either<Failure, Success>>.broadcast();
|
||||
Stream<Either<Failure, Success>> get downloadProgressState => _downloadProgressStateController.stream;
|
||||
@@ -152,7 +150,6 @@ class SingleEmailController extends BaseController with AppLoaderMixin {
|
||||
@override
|
||||
void onClose() {
|
||||
_downloadProgressStateController.close();
|
||||
scrollControllerAttachment.dispose();
|
||||
super.onClose();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user