added functionality to show own votes in polls
This commit is contained in:
@@ -32,6 +32,14 @@ class ChatMessage {
|
||||
onOpen: onOpen,
|
||||
);
|
||||
|
||||
if(originalData?['object']?.type == RichObjectStringObjectType.talkPoll) {
|
||||
return ListTile(
|
||||
leading: const Icon(Icons.poll_outlined),
|
||||
title: Text(originalData!['object']!.name),
|
||||
contentPadding: const EdgeInsets.only(left: 10),
|
||||
);
|
||||
}
|
||||
|
||||
if(file == null) return contentWidget;
|
||||
|
||||
return Padding(
|
||||
|
Reference in New Issue
Block a user