feat: New video file picker button
This commit is contained in:
parent
63af3afde4
commit
00d219bae1
3 changed files with 99 additions and 77 deletions
|
|
@ -548,10 +548,9 @@ class ChatController extends State<ChatPageWithRoom>
|
|||
}
|
||||
|
||||
void sendImageAction() async {
|
||||
final files = await selectFiles(
|
||||
context,
|
||||
allowMultiple: true,
|
||||
type: FileSelectorType.images,
|
||||
final files = await ImagePicker().pickMultipleMedia(
|
||||
imageQuality: null,
|
||||
requestFullMetadata: false,
|
||||
);
|
||||
if (files.isEmpty) return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue