idle
This commit is contained in:
@@ -731,18 +731,9 @@ class _FileExplorerState extends State<FileExplorer> {
|
||||
children: [
|
||||
ModernGlassButton(
|
||||
onPressed: () async {
|
||||
print(
|
||||
'[FileExplorer-Empty] Upload clicked, currentPath=${state.currentPath}',
|
||||
);
|
||||
final result = await FilePicker.platform
|
||||
.pickFiles(withData: true);
|
||||
if (result != null && result.files.isNotEmpty) {
|
||||
print(
|
||||
'[FileExplorer-Empty] Selected ${result.files.length} files',
|
||||
);
|
||||
print(
|
||||
'[FileExplorer-Empty] Will upload to: ${state.currentPath}',
|
||||
);
|
||||
final files = result.files
|
||||
.map(
|
||||
(file) => FileItem(
|
||||
|
||||
Reference in New Issue
Block a user