style: 会话列表item的title修改
This commit is contained in:
parent
ffd949f2a9
commit
69690cd2da
|
|
@ -60,7 +60,7 @@ class TIMUIKitConversationItem extends TIMUIKitStatelessWidget {
|
|||
|
||||
// 针对安卓设备的字体大小调整
|
||||
final msgFontSize =
|
||||
isDesktopScreen ? 12.0 : (isAndroid ? 13.0 : 14.0); // 安卓设备使用稍小的字体
|
||||
isDesktopScreen ? 12.0 : (isAndroid ? 14.0 : 14.0); // 安卓设备使用稍小的字体
|
||||
|
||||
if (lastMsg != null &&
|
||||
lastMessageBuilder != null &&
|
||||
|
|
@ -119,7 +119,7 @@ class TIMUIKitConversationItem extends TIMUIKitStatelessWidget {
|
|||
|
||||
// 针对安卓设备的字体大小调整
|
||||
final titleFontSize =
|
||||
isDesktopScreen ? 12.0 : (isAndroid ? 14.0 : 15.0); // 安卓设备使用稍小的字体
|
||||
isDesktopScreen ? 12.0 : (isAndroid ? 16.0 : 16.0); // 安卓设备使用稍小的字体
|
||||
|
||||
return Container(
|
||||
padding: const EdgeInsets.only(top: 6, bottom: 6, left: 16, right: 16),
|
||||
|
|
@ -189,7 +189,7 @@ class TIMUIKitConversationItem extends TIMUIKitStatelessWidget {
|
|||
height: 1.2,
|
||||
color: theme.conversationItemTitleTextColor,
|
||||
fontSize: titleFontSize,
|
||||
fontWeight: FontWeight.w400,
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
)),
|
||||
Flexible(
|
||||
|
|
|
|||
Loading…
Reference in New Issue