Skip to content

Commit 8e05574

Browse files
committed
poll [nfc]: Remove redundant TextAlign.center
We already center the text with `Center`, which is preferred because it also centers vertically. Signed-off-by: Zixuan James Li <[email protected]>
1 parent 72f09c1 commit 8e05574

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/widgets/poll.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ class _PollWidgetState extends State<PollWidget> {
8585
borderRadius: BorderRadius.circular(3)),
8686
child: Center(
8787
child: Text(option.voters.length.toString(),
88-
textAlign: TextAlign.center,
8988
style: textStyleBold.copyWith(
9089
color: theme.colorPollVoteCountText, fontSize: 13))))),
9190
Expanded(

0 commit comments

Comments
 (0)