chore: Follow up send multiple images

pull/1503/head rc1.23.0-2
Krille 9 months ago
parent 363eabbe1c
commit ae0999e6ce
No known key found for this signature in database
GPG Key ID: E067ECD60F1A0652

@ -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…
Cancel
Save