updated poll list design

This commit is contained in:
2026-02-01 15:35:40 +01:00
parent 92a9a7358e
commit dacefd321b
2 changed files with 2 additions and 2 deletions

View File

@@ -304,7 +304,7 @@ class _ChatBubbleState extends State<ChatBubble> with SingleTickerProviderStateM
var pollId = int.parse(message.originalData!['object']!.id); var pollId = int.parse(message.originalData!['object']!.id);
var pollState = GetPollState(token: widget.bubbleData.token, pollId: pollId).run(); var pollState = GetPollState(token: widget.bubbleData.token, pollId: pollId).run();
showDialog(context: context, builder: (context) => AlertDialog( showDialog(context: context, builder: (context) => AlertDialog(
title: Text(message.originalData!['object']!.name, textScaler: TextScaler.linear(0.9)), title: Text(message.originalData!['object']!.name, textScaler: TextScaler.linear(0.9), overflow: TextOverflow.ellipsis),
content: FutureBuilder( content: FutureBuilder(
future: pollState, future: pollState,
builder: (context, snapshot) { builder: (context, snapshot) {

View File

@@ -35,7 +35,7 @@ class _PollOptionsListState extends State<PollOptionsList> {
option, option,
style: Theme.of(context).textTheme.bodyLarge, style: Theme.of(context).textTheme.bodyLarge,
), ),
trailing: Icon( leading: Icon(
votedSelf ? Icons.check_circle_outlined : Icons.circle_outlined, votedSelf ? Icons.check_circle_outlined : Icons.circle_outlined,
color: votedSelf color: votedSelf
? Theme.of(context).colorScheme.primary.withValues(alpha: 0.6) ? Theme.of(context).colorScheme.primary.withValues(alpha: 0.6)