TF-4141 Fix separator still not reactive to selection mode changes.
This commit is contained in:
@@ -26,7 +26,7 @@ extension ListMailboxNodeExtension on List<MailboxNode> {
|
||||
}
|
||||
|
||||
/// Insert [newNode] after the first mailbox matching [priorities].
|
||||
/// If none match, inserts at the beginning.
|
||||
/// If no priorities match (or [priorities] is empty), inserts at the beginning.
|
||||
void insertAfterByPriority(
|
||||
MailboxNode newNode,
|
||||
List<bool Function(MailboxNode)> priorities,
|
||||
|
||||
@@ -330,6 +330,7 @@ class _MailboxItemWidgetState extends State<MailboxItemWidget> {
|
||||
}
|
||||
|
||||
// Dragging action-required mailboxes must not show highlight
|
||||
// because they're virtual folders that don't accept email drops
|
||||
if (widget.isDraggingMailbox && widget.mailboxNode.item.isActionRequired) {
|
||||
return AppColor.colorBgDesktop;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user