|
|
@ -48,9 +48,8 @@ class FileActions extends StatelessWidget { |
|
|
|
if (!context.mounted) { |
|
|
|
if (!context.mounted) { |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
final b = bloc.getNewFilesBrowserBloc(); |
|
|
|
|
|
|
|
final originalPath = details.path.sublist(0, details.path.length - 1); |
|
|
|
final originalPath = details.path.sublist(0, details.path.length - 1); |
|
|
|
b.setPath(originalPath); |
|
|
|
final b = bloc.getNewFilesBrowserBloc(initialPath: originalPath); |
|
|
|
final result = await showDialog<List<String>?>( |
|
|
|
final result = await showDialog<List<String>?>( |
|
|
|
context: context, |
|
|
|
context: context, |
|
|
|
builder: (final context) => FilesChooseFolderDialog( |
|
|
|
builder: (final context) => FilesChooseFolderDialog( |
|
|
@ -67,9 +66,8 @@ class FileActions extends StatelessWidget { |
|
|
|
if (!context.mounted) { |
|
|
|
if (!context.mounted) { |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
final b = bloc.getNewFilesBrowserBloc(); |
|
|
|
|
|
|
|
final originalPath = details.path.sublist(0, details.path.length - 1); |
|
|
|
final originalPath = details.path.sublist(0, details.path.length - 1); |
|
|
|
b.setPath(originalPath); |
|
|
|
final b = bloc.getNewFilesBrowserBloc(initialPath: originalPath); |
|
|
|
final result = await showDialog<List<String>?>( |
|
|
|
final result = await showDialog<List<String>?>( |
|
|
|
context: context, |
|
|
|
context: context, |
|
|
|
builder: (final context) => FilesChooseFolderDialog( |
|
|
|
builder: (final context) => FilesChooseFolderDialog( |
|
|
|