зеркало из https://github.com/nextcloud/ios.git
isLivePhoto
Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
This commit is contained in:
Родитель
f8647d2071
Коммит
c3685ff154
|
@ -485,7 +485,7 @@ extension NCLivePhoto {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
guard metadata.livePhoto,
|
guard metadata.isLivePhoto,
|
||||||
!livePhotoFile.isEmpty,
|
!livePhotoFile.isEmpty,
|
||||||
let metadata2 = NCManageDatabase.shared.getMetadata(predicate: NSPredicate(format: "account == %@ AND urlBase == %@ AND path == %@ AND fileName == %@ AND status == %d", metadata.account, metadata.urlBase, metadata.path, livePhotoFile, NCGlobal.shared.metadataStatusNormal)) else { return }
|
let metadata2 = NCManageDatabase.shared.getMetadata(predicate: NSPredicate(format: "account == %@ AND urlBase == %@ AND path == %@ AND fileName == %@ AND status == %d", metadata.account, metadata.urlBase, metadata.path, livePhotoFile, NCGlobal.shared.metadataStatusNormal)) else { return }
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче