fix: 调整行高,避免在部分设备上出现文字顶部被裁剪的问题
This commit is contained in:
parent
b4ab7f4039
commit
39bd348b49
|
|
@ -185,7 +185,8 @@ class TIMUIKitConversationItem extends TIMUIKitStatelessWidget {
|
||||||
overflow: TextOverflow.ellipsis,
|
overflow: TextOverflow.ellipsis,
|
||||||
maxLines: 1,
|
maxLines: 1,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
height: 1,
|
// 调整行高,避免在部分设备上出现文字顶部被裁剪的问题
|
||||||
|
height: 1.2,
|
||||||
color: theme.conversationItemTitleTextColor,
|
color: theme.conversationItemTitleTextColor,
|
||||||
fontSize: titleFontSize,
|
fontSize: titleFontSize,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue