Skip to content

Commit f39c497

Browse files
committed
Fix Warning
1 parent a4c879f commit f39c497

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CodeEdit/Features/Settings/Pages/TextEditingSettings/Models/NSFont+WithWeight.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ extension NSFont {
4444
}
4545
}
4646

47-
extension NSFont.Weight: Codable {
47+
extension NSFont.Weight: @retroactive Codable {
4848
public func encode(to encoder: Encoder) throws {
4949
var container = encoder.singleValueContainer()
5050
try container.encode(self.rawValue)

0 commit comments

Comments
 (0)