Selaa lähdekoodia

update canUpdate to take into account thumbhash

Luke McCarthy 2 vuotta sitten
vanhempi
commit
115fd62878
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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;