Merge pull request #189 from ente-io/hot_fix
Fix critical bug in uploading local files
This commit is contained in:
commit
27f90240f9
2 changed files with 5 additions and 7 deletions
|
@ -257,12 +257,10 @@ class RemoteSyncService {
|
|||
}
|
||||
// prefer existing collection ID for manually uploaded files.
|
||||
// See https://github.com/ente-io/frame/pull/187
|
||||
final collectionID =
|
||||
(file.collectionID != null || file.collectionID != -1)
|
||||
? file.collectionID
|
||||
: (await CollectionsService.instance
|
||||
.getOrCreateForPath(file.deviceFolder))
|
||||
.id;
|
||||
final collectionID = file.collectionID ??
|
||||
(await CollectionsService.instance
|
||||
.getOrCreateForPath(file.deviceFolder))
|
||||
.id;
|
||||
_uploadFile(file, collectionID, futures);
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ description: ente photos application
|
|||
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
||||
# Read more about iOS versioning at
|
||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||
version: 0.5.4+283
|
||||
version: 0.5.5+284
|
||||
|
||||
environment:
|
||||
sdk: ">=2.10.0 <3.0.0"
|
||||
|
|
Loading…
Add table
Reference in a new issue