Skip to content

Commit

Permalink
Fixed breaking change to loading the TabsController.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Dahan committed Oct 28, 2017
1 parent d34ff6c commit 7a6387e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.12.9

* Fixed breaking change to loading the TabsController.

## 2.12.8

* [issue-933](https://github.com/CosmicMind/Material/issues/933): Fixed issue where `NavigationDrawerController` was not displaying the `leftViewController` and `rightViewController`.
Expand Down
2 changes: 1 addition & 1 deletion Material.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Material'
s.version = '2.12.8'
s.version = '2.12.9'
s.license = 'BSD-3-Clause'
s.summary = 'A UI/UX framework for creating beautiful applications.'
s.homepage = 'http://materialswift.com'
Expand Down
2 changes: 1 addition & 1 deletion Sources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.12.8</string>
<string>2.12.9</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
7 changes: 6 additions & 1 deletion Sources/iOS/TransitionController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,12 @@ open class TransitionController: UIViewController {
view.contentScaleFactor = Screen.scale

prepareContainer()
prepare(viewController: rootViewController, in: container)

guard let v = rootViewController else {
return
}

prepare(viewController: v, in: container)
}
}

Expand Down

0 comments on commit 7a6387e

Please sign in to comment.