Commit 3a6ef3ec by WB

MaterialDeviceType switch issue

XCode build error: Switch must be exhaustive, consider adding a default clause
parent 5365d0be
......@@ -47,7 +47,7 @@ public struct MaterialDevice {
return .iPhone
case .TV:
return .TV
case .Unspecified:
default:
return .Unspecified
}
}
......@@ -76,4 +76,4 @@ public struct MaterialDevice {
public static var scale: CGFloat {
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