TF-2628 [Part-2] Add IdleDownloadAttachmentForWeb & IdleViewAttachmentForWeb

This commit is contained in:
DatDang
2024-02-27 15:59:06 +07:00
committed by Dat H. Pham
parent 6fe62cb068
commit 750eb6f661
2 changed files with 4 additions and 0 deletions
@@ -5,6 +5,8 @@ import 'package:jmap_dart_client/jmap/core/id.dart';
import 'package:model/download/download_task_id.dart';
import 'package:model/email/attachment.dart';
class IdleDownloadAttachmentForWeb extends UIState {}
class StartDownloadAttachmentForWeb extends UIState {
final DownloadTaskId taskId;
@@ -1,5 +1,7 @@
import 'package:tmail_ui_user/features/email/domain/state/download_attachment_for_web_state.dart';
class IdleViewAttachmentForWeb extends IdleDownloadAttachmentForWeb {}
class StartViewAttachmentForWeb extends StartDownloadAttachmentForWeb {
StartViewAttachmentForWeb(super.taskId, super.attachment);
}