mirror of
https://github.com/laosb/CropImage.git
synced 2025-04-30 15:41:08 +00:00
fix: Typo in fatalError.
This commit is contained in:
parent
b3f84eb41b
commit
f34449d10a
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ public struct CropImageView<Controls: View>: View {
|
|||
#endif
|
||||
} else {
|
||||
#if os(macOS)
|
||||
fatalError("Cropping is not supported on macOS versions before Ventrura 13.0.")
|
||||
fatalError("Cropping is not supported on macOS versions before Ventura 13.0.")
|
||||
#elseif os(iOS)
|
||||
let window = UIWindow(frame: CGRect(origin: .zero, size: targetSize))
|
||||
let hosting = UIHostingController(rootView: snapshotView)
|
||||
|
|
Loading…
Add table
Reference in a new issue