TF-2717 Write widget test for change language

This commit is contained in:
dab246
2024-03-27 01:33:46 +07:00
committed by Dat H. Pham
parent 85e6f6952b
commit f8e4a9d264
2 changed files with 69 additions and 10 deletions
@@ -371,9 +371,9 @@ class _RecipientComposerWidgetState extends State<RecipientComposerWidget> {
bool get _isCollapse => _currentListEmailAddress.length > 1 && widget.expandMode == ExpandMode.COLLAPSE;
bool get _isAllRecipientInputEnabled => widget.fromState == PrefixRecipientState.enabled &&
widget.ccState == PrefixRecipientState.enabled &&
widget.bccState == PrefixRecipientState.enabled;
bool get _isAllRecipientInputEnabled => widget.fromState == PrefixRecipientState.enabled
&& widget.ccState == PrefixRecipientState.enabled
&& widget.bccState == PrefixRecipientState.enabled;
List<EmailAddress> get _collapsedListEmailAddress => _isCollapse
? _currentListEmailAddress.sublist(0, 1)