Commit ceada5af by Daniel Dahan

Merge pull request #210 from xjiaoyang/master

MaterialDeviceType switch issue
parents 5365d0be 3a6ef3ec
...@@ -47,7 +47,7 @@ public struct MaterialDevice { ...@@ -47,7 +47,7 @@ public struct MaterialDevice {
return .iPhone return .iPhone
case .TV: case .TV:
return .TV return .TV
case .Unspecified: default:
return .Unspecified return .Unspecified
} }
} }
...@@ -76,4 +76,4 @@ public struct MaterialDevice { ...@@ -76,4 +76,4 @@ public struct MaterialDevice {
public static var scale: CGFloat { public static var scale: CGFloat {
return UIScreen.mainScreen().scale return UIScreen.mainScreen().scale
} }
} }
\ No newline at end of file
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