mirror of https://github.com/SnapKit/SnapKit
Merge pull request #46 from sebreh/master
Fix for typo in OS check enabling iOS specific layout attributes
This commit is contained in:
commit
6e3c3a7a1b
|
@ -124,7 +124,7 @@ internal struct ConstraintAttributes: RawOptionSetType, BooleanType {
|
||||||
if (self & ConstraintAttributes.Baseline) {
|
if (self & ConstraintAttributes.Baseline) {
|
||||||
attrs.append(.Baseline)
|
attrs.append(.Baseline)
|
||||||
}
|
}
|
||||||
#if os(ios)
|
#if os(iOS)
|
||||||
if (self & ConstraintAttributes.FirstBaseline) {
|
if (self & ConstraintAttributes.FirstBaseline) {
|
||||||
attrs.append(.FirstBaseline)
|
attrs.append(.FirstBaseline)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue