mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-15 22:12:20 -06:00
update viewer impl
This commit is contained in:
@@ -85,7 +85,7 @@ class FileService {
|
||||
bool create = false,
|
||||
}) async {
|
||||
final dir = getDirectory(type);
|
||||
final filename = (fileName ?? const Uuid().v1()) + '.$extension';
|
||||
final filename = '${fileName ?? const Uuid().v1()}.$extension';
|
||||
final file = File(p.join(dir.path, filename));
|
||||
if (create) {
|
||||
await file.create(recursive: true);
|
||||
|
||||
Reference in New Issue
Block a user