added support for rich object messages
This commit is contained in:
1 parent
7a393bf630
commit
81f5b662b7
1 file changed
+2
-1
@@ -1,6 +1,7 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import '../../../../api/marianumcloud/talk/chat/getChatResponse.dart';
|
||||
import '../../../../api/marianumcloud/talk/chat/richObjectStringProcessor.dart';
|
||||
import 'chatBubbleStyles.dart';
|
||||
|
||||
class AnswerReference extends StatelessWidget {
|
||||
@@ -42,7 +43,7 @@ class AnswerReference extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
Text(
|
||||
referenceMessage.message,
|
||||
RichObjectStringProcessor.parseToString(referenceMessage.message, referenceMessage.messageParameters),
|
||||
maxLines: 2,
|
||||
style: TextStyle(
|
||||
overflow: TextOverflow.ellipsis,
|
||||
|
||||
Reference in new issue
Block a user