TF-3410 Fix wrong font size label Folders in MailBoxLeftMenu
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -174,6 +174,18 @@ class ThemeUtils {
|
||||
color: color,
|
||||
);
|
||||
|
||||
static TextStyle textStyleM3BodyMedium2({
|
||||
Color? color,
|
||||
FontWeight? fontWeight,
|
||||
}) => TextStyle(
|
||||
fontFamily: ConstantsUI.fontApp,
|
||||
fontWeight: fontWeight ?? FontWeight.w600,
|
||||
letterSpacing: 0.25,
|
||||
fontSize: 14,
|
||||
height: 20 / 14,
|
||||
color: color,
|
||||
);
|
||||
|
||||
static TextSelectionThemeData get _textSelectionTheme {
|
||||
return const TextSelectionThemeData(
|
||||
cursorColor: AppColor.primaryColor,
|
||||
|
||||
@@ -280,11 +280,7 @@ class MailboxView extends BaseMailboxView {
|
||||
Expanded(
|
||||
child: Text(
|
||||
AppLocalizations.of(context).folders,
|
||||
style: const TextStyle(
|
||||
fontSize: 15,
|
||||
color: Colors.black,
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
style: ThemeUtils.textStyleM3BodyMedium2(color: Colors.black),
|
||||
),
|
||||
),
|
||||
Row(children: [
|
||||
|
||||
@@ -185,11 +185,7 @@ class MailboxView extends BaseMailboxView {
|
||||
),
|
||||
child: Text(
|
||||
AppLocalizations.of(context).folders,
|
||||
style: const TextStyle(
|
||||
fontSize: 15,
|
||||
color: Colors.black,
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
style: ThemeUtils.textStyleM3BodyMedium2(color: Colors.black),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user