Browse Source

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

Vishnu Mohandas 5 years ago
parent
commit
4b38828d4c
1 changed files with 0 additions and 1 deletions
  1. 0 1
      lib/models/photo.dart

+ 0 - 1
lib/models/photo.dart

@@ -35,7 +35,6 @@ class Photo {
   static Future<Photo> fromAsset(
   static Future<Photo> fromAsset(
       AssetPathEntity pathEntity, AssetEntity asset) async {
       AssetPathEntity pathEntity, AssetEntity asset) async {
     Photo photo = Photo();
     Photo photo = Photo();
-    photo.uploadedFileId = -1;
     photo.localId = asset.id;
     photo.localId = asset.id;
     photo.title = asset.title;
     photo.title = asset.title;
     photo.deviceFolder = pathEntity.name;
     photo.deviceFolder = pathEntity.name;