Let the uploaded ID be set to null when loading photo from disk
This commit is contained in:
parent
44965a3473
commit
4b38828d4c
1 changed files with 0 additions and 1 deletions
|
@ -35,7 +35,6 @@ class Photo {
|
|||
static Future<Photo> fromAsset(
|
||||
AssetPathEntity pathEntity, AssetEntity asset) async {
|
||||
Photo photo = Photo();
|
||||
photo.uploadedFileId = -1;
|
||||
photo.localId = asset.id;
|
||||
photo.title = asset.title;
|
||||
photo.deviceFolder = pathEntity.name;
|
||||
|
|
Loading…
Add table
Reference in a new issue