Fix alignment receive time in email view
This commit is contained in:
@@ -147,7 +147,6 @@ class _RecipientComposerWidgetState extends State<RecipientComposerWidget> {
|
|||||||
const SizedBox(width: RecipientComposerWidgetStyle.space),
|
const SizedBox(width: RecipientComposerWidgetStyle.space),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: FocusScope(
|
child: FocusScope(
|
||||||
child: Focus(
|
|
||||||
onFocusChange: (focus) => widget.onFocusEmailAddressChangeAction?.call(widget.prefix, focus),
|
onFocusChange: (focus) => widget.onFocusEmailAddressChangeAction?.call(widget.prefix, focus),
|
||||||
onKeyEvent: PlatformInfo.isWeb ? _recipientInputOnKeyListener : null,
|
onKeyEvent: PlatformInfo.isWeb ? _recipientInputOnKeyListener : null,
|
||||||
child: StatefulBuilder(
|
child: StatefulBuilder(
|
||||||
@@ -317,7 +316,6 @@ class _RecipientComposerWidgetState extends State<RecipientComposerWidget> {
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
|
||||||
),
|
),
|
||||||
const SizedBox(width: RecipientComposerWidgetStyle.space),
|
const SizedBox(width: RecipientComposerWidgetStyle.space),
|
||||||
if (widget.prefix == PrefixEmailAddress.to)
|
if (widget.prefix == PrefixEmailAddress.to)
|
||||||
|
|||||||
@@ -58,6 +58,8 @@ class InformationSenderAndReceiverBuilder extends StatelessWidget {
|
|||||||
children: [
|
children: [
|
||||||
if (emailSelected.from?.isNotEmpty == true)
|
if (emailSelected.from?.isNotEmpty == true)
|
||||||
Row(children: [
|
Row(children: [
|
||||||
|
Expanded(child: Row(
|
||||||
|
children: [
|
||||||
Flexible(child: Transform(
|
Flexible(child: Transform(
|
||||||
transform: Matrix4.translationValues(-5.0, 0.0, 0.0),
|
transform: Matrix4.translationValues(-5.0, 0.0, 0.0),
|
||||||
child: EmailSenderBuilder(
|
child: EmailSenderBuilder(
|
||||||
@@ -90,6 +92,8 @@ class InformationSenderAndReceiverBuilder extends StatelessWidget {
|
|||||||
backgroundColor: Colors.transparent,
|
backgroundColor: Colors.transparent,
|
||||||
onTapActionCallback: () => onEmailActionClick?.call(emailSelected, EmailActionType.unsubscribe),
|
onTapActionCallback: () => onEmailActionClick?.call(emailSelected, EmailActionType.unsubscribe),
|
||||||
),
|
),
|
||||||
|
]
|
||||||
|
)),
|
||||||
ReceivedTimeBuilder(emailSelected: emailSelected),
|
ReceivedTimeBuilder(emailSelected: emailSelected),
|
||||||
]),
|
]),
|
||||||
if (emailSelected.numberOfAllEmailAddress() > 0)
|
if (emailSelected.numberOfAllEmailAddress() > 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user