diff --git a/lib/features/composer/presentation/widgets/recipient_composer_widget.dart b/lib/features/composer/presentation/widgets/recipient_composer_widget.dart index f1a8f3dd7..1da4527f4 100644 --- a/lib/features/composer/presentation/widgets/recipient_composer_widget.dart +++ b/lib/features/composer/presentation/widgets/recipient_composer_widget.dart @@ -299,30 +299,26 @@ class _RecipientComposerWidgetState extends State { }, ); - if (PlatformInfo.isWeb || widget.isTestingForWeb) { - return DragTarget( - builder: (context, candidateData, rejectedData) { - return tagEditor; - }, - onAcceptWithDetails: (draggableEmailAddress) => - _handleAcceptDraggableEmailAddressAction( - draggableEmailAddress.data, - stateSetter, - ), - onLeave: (draggableEmailAddress) { - if (_isDragging) { - stateSetter(() => _isDragging = false); - } - }, - onMove: (details) { - if (!_isDragging) { - stateSetter(() => _isDragging = true); - } - }, - ); - } else { - return tagEditor; - } + return DragTarget( + builder: (context, candidateData, rejectedData) { + return tagEditor; + }, + onAcceptWithDetails: (draggableEmailAddress) => + _handleAcceptDraggableEmailAddressAction( + draggableEmailAddress.data, + stateSetter, + ), + onLeave: (draggableEmailAddress) { + if (_isDragging) { + stateSetter(() => _isDragging = false); + } + }, + onMove: (details) { + if (!_isDragging) { + stateSetter(() => _isDragging = true); + } + }, + ); }, ) )