We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e0c2ae commit ceed05aCopy full SHA for ceed05a
1 file changed
Tool/Sources/Preferences/Types/StorableFont.swift
@@ -13,7 +13,7 @@ public struct StorableFont: Codable {
13
}
14
15
public init(from decoder: Decoder) throws {
16
- var container = try decoder.container(keyedBy: CodingKeys.self)
+ let container = try decoder.container(keyedBy: CodingKeys.self)
17
let fontData = try container.decode(Data.self, forKey: .nsFont)
18
guard let nsFont = try NSKeyedUnarchiver.unarchivedObject(
19
ofClass: NSFont.self,
0 commit comments