track livephoto status
This commit is contained in:
@@ -27,7 +27,8 @@ extension PHAsset {
|
||||
updatedAt: modificationDate.map { Int64($0.timeIntervalSince1970) },
|
||||
width: Int64(pixelWidth),
|
||||
height: Int64(pixelHeight),
|
||||
durationInSeconds: Int64(duration)
|
||||
durationInSeconds: Int64(duration),
|
||||
isLivePhoto: isLivePhoto()
|
||||
)
|
||||
}
|
||||
}
|
||||
@@ -169,7 +170,8 @@ class NativeSyncApiImpl: NativeSyncApi {
|
||||
id: asset.localIdentifier,
|
||||
name: "",
|
||||
type: 0,
|
||||
durationInSeconds: 0
|
||||
durationInSeconds: 0,
|
||||
isLivePhoto: false
|
||||
)
|
||||
if (updatedAssets.contains(AssetWrapper(with: predicate))) {
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user