Added option for file deletion

This commit is contained in:
2023-06-01 18:46:25 +02:00
parent 2f4e6fef37
commit 6709e3db47
3 changed files with 64 additions and 19 deletions

View File

@ -226,7 +226,7 @@ class _FilesState extends State<Files> {
itemCount: files.length,
itemBuilder: (context, index) {
CacheableFile file = files.toList()[index];
return FileElement(file, widget.path);
return FileElement(file, widget.path, _query);
},
),
)