feat: add devtools extensions and fix poll dialog UI/UX
- Enabled `provider` and `shared_preferences` extensions in `devtools_options.yaml`. - Added logging for message object data on chat bubble tap. - Fixed layout issues in poll dialog by wrapping `LoadingSpinner` in a `Column` and changing `ListView` to a `Column` in `pollOptionsList.dart`. - Updated poll submission button to wait for the poll state to load before allowing interaction.
This commit is contained in:
@@ -22,11 +22,10 @@ class _PollOptionsListState extends State<PollOptionsList> {
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) => ListView(
|
||||
shrinkWrap: true,
|
||||
Widget build(BuildContext context) => Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
...widget.pollData.options.map<Widget>(
|
||||
(option) => CheckboxListTile(
|
||||
...widget.pollData.options.map<Widget>((option) => CheckboxListTile(
|
||||
value: ownVotes.contains(widget.pollData.options.indexOf(option)),
|
||||
title: Text(option),
|
||||
onChanged: (value) {
|
||||
|
||||
Reference in New Issue
Block a user