[bugfix] chat bubble error and Pronounce ID.UNYX error

This commit is contained in:
2025-08-18 13:34:57 +08:00
parent f2ffaf6f70
commit 028471a2b7
6 changed files with 52 additions and 36 deletions

View File

@@ -110,8 +110,7 @@ class _PartScreenState extends State<PartScreen> {
_scrollToBottom();
});
return Consumer<MessageService>(
builder: (context, handler, child) {
final messages = handler.messages;
builder: (context, messageService, child) {
return AnimatedContainer(
duration: const Duration(milliseconds: 180),
curve: Curves.easeInOut,
@@ -145,7 +144,7 @@ class _PartScreenState extends State<PartScreen> {
child: ChatBox(
scrollController:
_scrollController,
messages: messages,
messages: messageService.messages,
),
),
),