TF-3410 Fix wrong text style sender & recipient information in EmailView

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-03-12 14:56:55 +07:00
committed by Dat H. Pham
parent a31aec8c74
commit 6a154a0d0e
4 changed files with 19 additions and 25 deletions
@@ -1,5 +1,6 @@
import 'package:core/presentation/extensions/color_extension.dart';
import 'package:core/presentation/utils/theme_utils.dart';
import 'package:flutter/material.dart';
import 'package:model/email/prefix_email_address.dart';
import 'package:tmail_ui_user/features/composer/presentation/extensions/prefix_email_address_extension.dart';
@@ -15,11 +16,7 @@ class PrefixRecipientWidget extends StatelessWidget {
padding: const EdgeInsets.only(top: 6),
child: Text(
'${prefixEmailAddress.asName(context)}:',
style: Theme.of(context).textTheme.labelMedium?.copyWith(
fontSize: 16,
fontWeight: FontWeight.w500,
color: AppColor.steelGray400
)
style: ThemeUtils.textStyleBodyBody1(color: AppColor.steelGray400),
),
);
}