Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion lib/features/email/presentation/email_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,6 @@ class EmailView extends GetWidget<SingleEmailController> {
openPopupMenu: controller.mailboxDashBoardController.openPopupMenu,
),
onToggleThreadDetailCollapseExpand: onToggleThreadDetailCollapseExpand,
onTapAvatarActionClick: onToggleThreadDetailCollapseExpand,
mailboxContain: presentationEmail.findMailboxContain(
controller.mailboxDashBoardController.mapMailboxById,
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ class EmailActionReactor {
),
),
isScrollControlled: true,
enableDrag: false,
enableDrag: true,
backgroundColor: Colors.transparent,
);
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import 'package:core/presentation/utils/icon_utils.dart';
import 'package:core/presentation/utils/responsive_utils.dart';
import 'package:core/presentation/utils/theme_utils.dart';
import 'package:core/presentation/views/button/tmail_button_widget.dart';
import 'package:core/presentation/views/image/avatar_builder.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter_svg/flutter_svg.dart';
Expand Down Expand Up @@ -41,7 +40,6 @@ class InformationSenderAndReceiverBuilder extends StatelessWidget {
final OnMoreActionClick? onMoreActionClick;
final bool showRecipients;
final VoidCallback? onToggleThreadDetailCollapseExpand;
final OnTapAvatarActionClick? onTapAvatarActionClick;
final PresentationMailbox? mailboxContain;
final bool showUnreadVisualization;

Expand All @@ -60,7 +58,6 @@ class InformationSenderAndReceiverBuilder extends StatelessWidget {
this.onMoreActionClick,
this.showRecipients = true,
this.onToggleThreadDetailCollapseExpand,
this.onTapAvatarActionClick,
this.mailboxContain,
this.showUnreadVisualization = false,
}) : super(key: key);
Expand All @@ -76,7 +73,14 @@ class InformationSenderAndReceiverBuilder extends StatelessWidget {
children: [
EmailAvatarBuilder(
emailSelected: emailSelected,
onTapAvatarActionClick: onTapAvatarActionClick,
onTapAvatarActionClick: () {
if (emailSelected.from?.isNotEmpty == true) {
openEmailAddressDetailAction?.call(
context,
emailSelected.from!.first,
);
}
},
size: 56,
),
const SizedBox(width: 16),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ class ThreadDetailCollapsedEmail extends StatelessWidget {
onEmailActionClick: onEmailActionClick,
openEmailAddressDetailAction: openEmailAddressDetailAction,
showRecipients: false,
onTapAvatarActionClick: onToggleThreadDetailCollapseExpand,
mailboxContain: mailboxContain,
showUnreadVisualization: true,
),
Expand Down
Loading