feat: improve Banban UI and binding diagnostics
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { getParticipantArtwork } from '@/utils/artwork'
|
||||
import { formatConversationPreview } from '@/utils/chat-preview'
|
||||
import PageTitle from '@/components/page-title'
|
||||
import { getPageStyle } from '@/utils/page-style'
|
||||
import { setActiveTabRoute } from '@/utils/tab-bar'
|
||||
@@ -172,7 +173,7 @@ export default function Chat() {
|
||||
<Text className='empty-title'>当前宝贝暂无会话</Text>
|
||||
</View>
|
||||
) : (
|
||||
<ScrollView className='conversation-list' scrollY>
|
||||
<ScrollView className='conversation-list' scrollY enhanced showScrollbar={false}>
|
||||
{conversations.map((conversation) => (
|
||||
<View
|
||||
key={conversation.key}
|
||||
@@ -191,9 +192,9 @@ export default function Chat() {
|
||||
<Text className='conversation-time'>{conversation.time}</Text>
|
||||
</View>
|
||||
<View className='conversation-footer'>
|
||||
<Text className='last-message' numberOfLines={1}>
|
||||
{conversation.lastMessage}
|
||||
</Text>
|
||||
<View className='last-message'>
|
||||
{formatConversationPreview(conversation.lastMessage)}
|
||||
</View>
|
||||
</View>
|
||||
{conversation.childName && <Text className='conversation-meta'>{conversation.childName}</Text>}
|
||||
</View>
|
||||
|
||||
Reference in New Issue
Block a user