We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c5ebbd commit 2d5de74Copy full SHA for 2d5de74
Sources/Extensions/UIViewController+Hero.swift
@@ -28,8 +28,8 @@ internal class HeroViewControllerConfig: NSObject {
28
var tabBarAnimation: HeroDefaultAnimationType = .auto
29
30
var storedSnapshot: UIView?
31
- var previousNavigationDelegate: UINavigationControllerDelegate?
32
- var previousTabBarDelegate: UITabBarControllerDelegate?
+ weak var previousNavigationDelegate: UINavigationControllerDelegate?
+ weak var previousTabBarDelegate: UITabBarControllerDelegate?
33
}
34
35
extension UIViewController: HeroCompatible { }
0 commit comments