|
|
@@ -24,6 +24,11 @@
|
|
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
// THE SOFTWARE.
|
|
|
|
|
|
+#if os(watchOS)
|
|
|
+// Only a placeholder.
|
|
|
+public struct RetrieveLivePhotoResult: @unchecked Sendable {
|
|
|
+}
|
|
|
+#else
|
|
|
@preconcurrency import PhotosUI
|
|
|
|
|
|
public struct RetrieveLivePhotoResult: @unchecked Sendable {
|
|
|
@@ -193,3 +198,4 @@ extension KingfisherWrapper where Base: PHLivePhotoView {
|
|
|
return .imageSettingError(reason: .notCurrentLivePhotoSourceTask(result: result, error: error, source: source))
|
|
|
}
|
|
|
}
|
|
|
+#endif
|