Let the uploaded ID be set to null when loading photo from disk

This commit is contained in:
Vishnu Mohandas 2020-06-15 06:03:24 +05:30
parent 44965a3473
commit 4b38828d4c

View file

@ -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;