TF-4075 Jump to attachments list position on mobile
(cherry picked from commit cd2ca1ec3c5b5160820823905d9f0183536b07e3)
This commit is contained in:
@@ -432,7 +432,12 @@ class SingleEmailController extends BaseController with AppLoaderMixin {
|
||||
if (_currentEmailId == null || action.emailId != _currentEmailId) {
|
||||
return;
|
||||
}
|
||||
jumpToAttachmentList();
|
||||
jumpToAttachmentList(
|
||||
emailId: _currentEmailId!,
|
||||
countAttachments: action.countAttachments,
|
||||
screenHeight: action.screenHeight,
|
||||
isDisplayAllAttachments: action.isDisplayAllAttachments,
|
||||
);
|
||||
mailboxDashBoardController.clearEmailUIAction();
|
||||
}
|
||||
}));
|
||||
@@ -1765,10 +1770,12 @@ class SingleEmailController extends BaseController with AppLoaderMixin {
|
||||
|
||||
void showAllAttachmentsAction() {
|
||||
isDisplayAllAttachments.value = true;
|
||||
threadDetailController?.isDisplayAllAttachments = true;
|
||||
}
|
||||
|
||||
void hideAllAttachmentsAction() {
|
||||
isDisplayAllAttachments.value = false;
|
||||
threadDetailController?.isDisplayAllAttachments = false;
|
||||
}
|
||||
|
||||
void _unsubscribeEmail(BuildContext context, PresentationEmail presentationEmail) {
|
||||
|
||||
Reference in New Issue
Block a user