chore: Follow up send multiple images
This commit is contained in:
parent
363eabbe1c
commit
ae0999e6ce
1 changed files with 21 additions and 18 deletions
|
|
@ -193,7 +193,9 @@ class SendFileDialogState extends State<SendFileDialog> {
|
||||||
padding: const EdgeInsets.only(bottom: 16.0),
|
padding: const EdgeInsets.only(bottom: 16.0),
|
||||||
child: SizedBox(
|
child: SizedBox(
|
||||||
height: 256,
|
height: 256,
|
||||||
|
child: Center(
|
||||||
child: ListView.builder(
|
child: ListView.builder(
|
||||||
|
shrinkWrap: true,
|
||||||
itemCount: widget.files.length,
|
itemCount: widget.files.length,
|
||||||
scrollDirection: Axis.horizontal,
|
scrollDirection: Axis.horizontal,
|
||||||
itemBuilder: (context, i) => Padding(
|
itemBuilder: (context, i) => Padding(
|
||||||
|
|
@ -217,6 +219,7 @@ class SendFileDialogState extends State<SendFileDialog> {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
if (uniqueMimeType?.startsWith('image') != true)
|
if (uniqueMimeType?.startsWith('image') != true)
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(bottom: 16.0),
|
padding: const EdgeInsets.only(bottom: 16.0),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue