TF-2628 [Part-2] Add IdleDownloadAttachmentForWeb & IdleViewAttachmentForWeb
This commit is contained in:
@@ -5,6 +5,8 @@ import 'package:jmap_dart_client/jmap/core/id.dart';
|
|||||||
import 'package:model/download/download_task_id.dart';
|
import 'package:model/download/download_task_id.dart';
|
||||||
import 'package:model/email/attachment.dart';
|
import 'package:model/email/attachment.dart';
|
||||||
|
|
||||||
|
class IdleDownloadAttachmentForWeb extends UIState {}
|
||||||
|
|
||||||
class StartDownloadAttachmentForWeb extends UIState {
|
class StartDownloadAttachmentForWeb extends UIState {
|
||||||
|
|
||||||
final DownloadTaskId taskId;
|
final DownloadTaskId taskId;
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
import 'package:tmail_ui_user/features/email/domain/state/download_attachment_for_web_state.dart';
|
import 'package:tmail_ui_user/features/email/domain/state/download_attachment_for_web_state.dart';
|
||||||
|
|
||||||
|
class IdleViewAttachmentForWeb extends IdleDownloadAttachmentForWeb {}
|
||||||
|
|
||||||
class StartViewAttachmentForWeb extends StartDownloadAttachmentForWeb {
|
class StartViewAttachmentForWeb extends StartDownloadAttachmentForWeb {
|
||||||
StartViewAttachmentForWeb(super.taskId, super.attachment);
|
StartViewAttachmentForWeb(super.taskId, super.attachment);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user