chore: Update fastlane snapshots

This commit is contained in:
Lei Nelissen
2022-11-17 21:08:19 +01:00
parent d072292008
commit 398e38e748
5 changed files with 52 additions and 50 deletions

View File

@@ -181,7 +181,7 @@ open class Snapshot: NSObject {
let path = screenshotsDir.appendingPathComponent("\(simulator)-\(name).png")
#if swift(<5.0)
UIImagePNGRepresentation(image)?.write(to: path, options: .atomic)
try UIImagePNGRepresentation(image)?.write(to: path, options: .atomic)
#else
try image.pngData()?.write(to: path, options: .atomic)
#endif
@@ -306,4 +306,4 @@ private extension CGFloat {
// Please don't remove the lines below
// They are used to detect outdated configuration files
// SnapshotHelperVersion [1.28]
// SnapshotHelperVersion [1.29]