Explorar o código

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

Vishnu Mohandas %!s(int64=5) %!d(string=hai) anos
pai
achega
4b38828d4c
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      lib/models/photo.dart

+ 0 - 1
lib/models/photo.dart

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