diff --git a/lib/src/file_picker_writable.dart b/lib/src/file_picker_writable.dart index a56d350..d446510 100644 --- a/lib/src/file_picker_writable.dart +++ b/lib/src/file_picker_writable.dart @@ -315,9 +315,6 @@ class FilePickerWritable { Future _createFileInNewTempDirectory( String baseName, Future Function(File tempFile) callback) async { - if (baseName.length > 30) { - baseName = baseName.substring(0, 30); - } final tempDirBase = await getTemporaryDirectory(); final tempDir = await tempDirBase.createTemp('file_picker_writable');