mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
Fixed issue with filename is blank on iOS causing update to fail
This commit is contained in:
@@ -196,8 +196,7 @@ class BackupService {
|
||||
}
|
||||
|
||||
if (file != null) {
|
||||
String originalFileName =
|
||||
entity.title != null ? entity.title! : await entity.titleAsync;
|
||||
String originalFileName = await entity.titleAsync;
|
||||
String fileNameWithoutPath =
|
||||
originalFileName.toString().split(".")[0];
|
||||
var fileExtension = p.extension(file.path);
|
||||
|
||||
Reference in New Issue
Block a user