TF-2189 Keep composer available before click on proceed
(cherry picked from commit a818b91fc6faa395c9935cd411676b914c237b1f)
This commit is contained in:
@@ -5,6 +5,7 @@ import 'package:model/model.dart';
|
||||
import 'package:receive_sharing_intent/receive_sharing_intent.dart';
|
||||
import 'package:tmail_ui_user/features/mailbox_dashboard/data/model/composer_cache.dart';
|
||||
import 'package:tmail_ui_user/features/sending_queue/domain/model/sending_email.dart';
|
||||
import 'package:tmail_ui_user/features/sending_queue/presentation/model/sending_email_action_type.dart';
|
||||
import 'package:tmail_ui_user/main/routes/router_arguments.dart';
|
||||
|
||||
class ComposerArguments extends RouterArguments {
|
||||
@@ -131,6 +132,10 @@ class ComposerArguments extends RouterArguments {
|
||||
references: references,
|
||||
);
|
||||
|
||||
SendingEmailActionType get sendingEmailActionType => sendingEmail != null
|
||||
? SendingEmailActionType.edit
|
||||
: SendingEmailActionType.create;
|
||||
|
||||
@override
|
||||
List<Object?> get props => [
|
||||
emailActionType,
|
||||
|
||||
Reference in New Issue
Block a user