mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-22 23:58:36 +01:00
Fix crash on iOS 15
This commit is contained in:
parent
6f6e547a5b
commit
cc19b6b13e
@ -10,6 +10,10 @@ import UIKit
|
|||||||
|
|
||||||
class CroppingPreviewParameters: UIPreviewParameters {
|
class CroppingPreviewParameters: UIPreviewParameters {
|
||||||
|
|
||||||
|
override init() {
|
||||||
|
super.init()
|
||||||
|
}
|
||||||
|
|
||||||
init(view: UIView) {
|
init(view: UIView) {
|
||||||
super.init()
|
super.init()
|
||||||
let newBounds = CGRect(x: 1, y: 1, width: view.bounds.width - 2, height: view.bounds.height - 2)
|
let newBounds = CGRect(x: 1, y: 1, width: view.bounds.width - 2, height: view.bounds.height - 2)
|
||||||
|
Loading…
Reference in New Issue
Block a user