Explorar o código

update canUpdate to take into account thumbhash

Luke McCarthy %!s(int64=2) %!d(string=hai) anos
pai
achega
115fd62878
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      mobile/lib/shared/models/asset.dart

+ 1 - 0
mobile/lib/shared/models/asset.dart

@@ -234,6 +234,7 @@ class Asset {
         a.isLocal && !isLocal ||
         width == null && a.width != null ||
         height == null && a.height != null ||
+        thumbhash == null && a.thumbhash != null ||
         livePhotoVideoId == null && a.livePhotoVideoId != null ||
         !isRemote && a.isRemote && isFavorite != a.isFavorite ||
         !isRemote && a.isRemote && isArchived != a.isArchived;