TF-4075 Jump to attachments list position on mobile

(cherry picked from commit cd2ca1ec3c5b5160820823905d9f0183536b07e3)
This commit is contained in:
dab246
2025-10-07 01:25:19 +07:00
committed by Dat H. Pham
parent 3478e2aabc
commit 7057648b28
12 changed files with 112 additions and 25 deletions
@@ -86,10 +86,23 @@ class CollapseEmailInThreadDetailAction extends EmailUIAction {
}
class OpenAttachmentListAction extends EmailUIAction {
OpenAttachmentListAction(this.emailId);
OpenAttachmentListAction({
required this.emailId,
required this.countAttachments,
required this.screenHeight,
this.isDisplayAllAttachments = false,
});
final EmailId? emailId;
final int countAttachments;
final bool isDisplayAllAttachments;
final double screenHeight;
@override
List<Object?> get props => [emailId];
List<Object?> get props => [
emailId,
countAttachments,
isDisplayAllAttachments,
screenHeight,
];
}