chore: Follow up pick files with file selector
This commit is contained in:
parent
44bd4db774
commit
fe06f2efb3
8 changed files with 36 additions and 25 deletions
|
|
@ -167,7 +167,7 @@ class ChatDetailsController extends State<ChatDetails> {
|
|||
final picked = await selectFiles(
|
||||
context,
|
||||
allowMultiple: false,
|
||||
extensions: imageExtensions,
|
||||
type: FileSelectorType.images,
|
||||
);
|
||||
final pickedFile = picked.firstOrNull;
|
||||
if (pickedFile == null) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue