Commit 71297854 by Daniel Dahan

issue-965: Removed duplicate prepare call in initializer.

parent 12e33ee8
## 2.12.16
* [issue-965](https://github.com/CosmicMind/Material/issues/965): Removed duplicate `prepare` call in initializer.
## 2.12.15
* [issue-957](https://github.com/CosmicMind/Material/issues/957): Fixed StatusBar height issue in iOS 9 and iOS 10.
......
Pod::Spec.new do |s|
s.name = 'Material'
s.version = '2.12.15'
s.version = '2.12.16'
s.license = 'BSD-3-Clause'
s.summary = 'A UI/UX framework for creating beautiful applications.'
s.homepage = 'http://materialswift.com'
......
......@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.12.15</string>
<string>2.12.16</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
......
......@@ -39,7 +39,7 @@ public enum ContentViewAlignment: Int {
open class Bar: View {
/// Will layout the view.
open var willLayout: Bool {
return 0 < bounds.width && 0 < bounds.height && nil != superview && !grid.deferred
return 0 < bounds.width && 0 < bounds.height && nil != superview && !grid.isDeferred
}
open override var intrinsicContentSize: CGSize {
......
......@@ -159,7 +159,6 @@ open class View: UIView {
/// Convenience initializer.
public convenience init() {
self.init(frame: .zero)
prepare()
}
open override func layoutSubviews() {
......
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