Commit fb2a453d by Daniel Dahan

Motion disabled by default for NavigationController to avoid unbalanced calls to…

Motion disabled by default for NavigationController to avoid unbalanced calls to view lifecycle when presenting a NavigationController modally.
parent 45325e08
## 2.13.3 ## 2.13.3
* [issue-1015](https://github.com/CosmicMind/Material/issues/1015): Fixed regression where view lifecycle functions were not being called. * [issue-1015](https://github.com/CosmicMind/Material/issues/1015): Fixed regression where view lifecycle functions were not being called.
* Motion disabled by default for NavigationController to avoid unbalanced calls to view lifecycle when presenting a NavigationController modally.
* Updated to [Motion 1.3.3](https://github.com/CosmicMind/Motion/releases/tag/1.3.3).
## 2.13.2 ## 2.13.2
......
...@@ -120,7 +120,6 @@ open class NavigationController: UINavigationController { ...@@ -120,7 +120,6 @@ open class NavigationController: UINavigationController {
when subclassing. when subclassing.
*/ */
open func prepare() { open func prepare() {
isMotionEnabled = true
navigationBar.frame.size.width = view.bounds.width navigationBar.frame.size.width = view.bounds.width
navigationBar.heightPreset = .normal navigationBar.heightPreset = .normal
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment