Skip to content

Commit

Permalink
Replace use of deprecated API
Browse files Browse the repository at this point in the history
  • Loading branch information
NickEntin committed Oct 5, 2024
1 parent 0c31d47 commit 38f3734
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/StagehandTesting/Core/AnimationSnapshotting.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import Foundation
import MobileCoreServices
import UIKit
import UniformTypeIdentifiers

@testable import Stagehand

Expand Down Expand Up @@ -159,7 +160,7 @@ public enum AnimationSnapshotting {

guard let destination = CGImageDestinationCreateWithURL(
url as CFURL,
kUTTypePNG,
UTType.png.identifier as CFString,
images.count,
nil
) else {
Expand Down

0 comments on commit 38f3734

Please sign in to comment.