filtered system messages for poll votes

This commit is contained in:
2026-02-01 13:56:39 +01:00
parent 541d6ef164
commit 567184bcf9
2 changed files with 15 additions and 14 deletions

View File

@@ -306,20 +306,20 @@ class _ChatBubbleState extends State<ChatBubble> with SingleTickerProviderStateM
showDialog(context: context, builder: (context) => AlertDialog(
title: Text(message.originalData!['object']!.name, textScaler: TextScaler.linear(0.9)),
content: FutureBuilder(
future: pollState,
builder: (context, snapshot) {
if(snapshot.connectionState == ConnectionState.waiting) return const Column(mainAxisSize: MainAxisSize.min, children: [LoadingSpinner()]);
future: pollState,
builder: (context, snapshot) {
if(snapshot.connectionState == ConnectionState.waiting) return const Column(mainAxisSize: MainAxisSize.min, children: [LoadingSpinner()]);
var pollData = snapshot.data!.data;
return ListView(
shrinkWrap: true,
children: [
PollOptionsList(
pollData: pollData
)
]
);
}
var pollData = snapshot.data!.data;
return ListView(
shrinkWrap: true,
children: [
PollOptionsList(
pollData: pollData
)
]
);
}
),
actions: [
TextButton(