TF-2764 Remove ViewAttachmentForWebInteractor

This commit is contained in:
dab246
2024-05-17 02:19:22 +07:00
committed by Dat H. Pham
parent 7524a97bc8
commit 450e0eb2ab
7 changed files with 52 additions and 483 deletions
@@ -1,29 +0,0 @@
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);
}
class ViewingAttachmentForWeb extends DownloadingAttachmentForWeb {
ViewingAttachmentForWeb(
super.taskId,
super.attachment,
super.progress,
super.downloaded,
super.total,
);
}
class ViewAttachmentForWebSuccess extends DownloadAttachmentForWebSuccess {
ViewAttachmentForWebSuccess(super.taskId, super.attachment, super.bytes);
}
class ViewAttachmentForWebFailure extends DownloadAttachmentForWebFailure {
ViewAttachmentForWebFailure({
required super.attachment,
super.taskId,
super.exception,
});
}