Use the simd types where I can
This commit is contained in:
parent
edce32e021
commit
8f1e1335bd
9 changed files with 107 additions and 144 deletions
|
@ -42,7 +42,7 @@ extension UserDefaults {
|
|||
public var colorStyle: ColorStyle? {
|
||||
get {
|
||||
let value = integer(forKey: "colorStyle")
|
||||
if let colorStyle = ColorStyle(rawValue: UInt16(value)) {
|
||||
if let colorStyle = ColorStyle(rawValue: UInt32(value)) {
|
||||
return colorStyle
|
||||
}
|
||||
return nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue