TF-3704 Fix Folders text is not correct style

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-05-09 10:52:06 +07:00
committed by Dat H. Pham
parent b7e4eb6245
commit 8b0072548f
3 changed files with 7 additions and 8 deletions
+5 -6
View File
@@ -202,15 +202,14 @@ class ThemeUtils {
color: color, color: color,
); );
static TextStyle textStyleM3BodyMedium2({ static TextStyle textStyleInter700({
Color? color, Color? color,
FontWeight? fontWeight,
}) => TextStyle( }) => TextStyle(
fontFamily: ConstantsUI.fontApp, fontFamily: ConstantsUI.fontApp,
fontWeight: fontWeight ?? FontWeight.w600, fontWeight: FontWeight.w700,
letterSpacing: 0.25, letterSpacing: 0.0,
fontSize: 14, fontSize: 15,
height: 20 / 14, height: 20 / 15,
color: color, color: color,
); );
@@ -280,7 +280,7 @@ class MailboxView extends BaseMailboxView {
Expanded( Expanded(
child: Text( child: Text(
AppLocalizations.of(context).folders, AppLocalizations.of(context).folders,
style: ThemeUtils.textStyleM3BodyMedium2(color: Colors.black), style: ThemeUtils.textStyleInter700(color: Colors.black),
), ),
), ),
Row(children: [ Row(children: [
@@ -186,7 +186,7 @@ class MailboxView extends BaseMailboxView {
), ),
child: Text( child: Text(
AppLocalizations.of(context).folders, AppLocalizations.of(context).folders,
style: ThemeUtils.textStyleM3BodyMedium2(color: Colors.black), style: ThemeUtils.textStyleInter700(color: Colors.black),
), ),
), ),
), ),