Skip to content

Commit

Permalink
fix: multiple file selection doesn't work yet
Browse files Browse the repository at this point in the history
  • Loading branch information
nesquikm committed Oct 30, 2023
1 parent ab92070 commit b910274
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/features/library/page/add_file.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ Future<void> addFile(WidgetRef ref) async {
final log = Logger('addFile');

final result = await FilePicker.platform.pickFiles(
// TODO(nesquikm): Why it doesn't work?
// type: FileType.custom,
// allowedExtensions: Tome.supportedExtensions(),
allowMultiple: true,
);
// TODO(nesquikm): Why it doesn't work?
// type: FileType.custom,
// allowedExtensions: Tome.supportedExtensions(),
// allowMultiple: true,
);

if (result == null) {
log.info('No file selected');
Expand Down

0 comments on commit b910274

Please sign in to comment.