style: 会话列表item的title修改

This commit is contained in:
Zeew 2025-08-15 16:28:39 +08:00
parent ffd949f2a9
commit 69690cd2da
1 changed files with 3 additions and 3 deletions

View File

@ -60,7 +60,7 @@ class TIMUIKitConversationItem extends TIMUIKitStatelessWidget {
// //
final msgFontSize = final msgFontSize =
isDesktopScreen ? 12.0 : (isAndroid ? 13.0 : 14.0); // 使 isDesktopScreen ? 12.0 : (isAndroid ? 14.0 : 14.0); // 使
if (lastMsg != null && if (lastMsg != null &&
lastMessageBuilder != null && lastMessageBuilder != null &&
@ -119,7 +119,7 @@ class TIMUIKitConversationItem extends TIMUIKitStatelessWidget {
// //
final titleFontSize = final titleFontSize =
isDesktopScreen ? 12.0 : (isAndroid ? 14.0 : 15.0); // 使 isDesktopScreen ? 12.0 : (isAndroid ? 16.0 : 16.0); // 使
return Container( return Container(
padding: const EdgeInsets.only(top: 6, bottom: 6, left: 16, right: 16), padding: const EdgeInsets.only(top: 6, bottom: 6, left: 16, right: 16),
@ -189,7 +189,7 @@ class TIMUIKitConversationItem extends TIMUIKitStatelessWidget {
height: 1.2, height: 1.2,
color: theme.conversationItemTitleTextColor, color: theme.conversationItemTitleTextColor,
fontSize: titleFontSize, fontSize: titleFontSize,
fontWeight: FontWeight.w400, fontWeight: FontWeight.bold,
), ),
)), )),
Flexible( Flexible(