Commit df60eec1 by Daniel Dahan

Merge pull request #212 from CosmicMind/revert-210-master

Revert "MaterialDeviceType switch issue"
parents ceada5af 823d5735
...@@ -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
default: case .Unspecified:
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