Skip to content

Commit 8edc3f8

Browse files
committed
Merge branch 'feature/type-in-the-middle-hack' into develop
2 parents 0e0c2ae + b79184d commit 8edc3f8

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

Pro

Submodule Pro updated from f09006a to c0a332d

Tool/Sources/Preferences/Keys.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,10 @@ public extension UserDefaultPreferenceKeys {
362362
var isSuggestionSenseEnabled: PreferenceKey<Bool> {
363363
.init(defaultValue: false, key: "IsSuggestionSenseEnabled")
364364
}
365+
366+
var isSuggestionTypeInTheMiddleEnabled: PreferenceKey<Bool> {
367+
.init(defaultValue: true, key: "IsSuggestionTypeInTheMiddleEnabled")
368+
}
365369
}
366370

367371
// MARK: - Chat

Tool/Sources/Preferences/Types/StorableFont.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public struct StorableFont: Codable {
1313
}
1414

1515
public init(from decoder: Decoder) throws {
16-
var container = try decoder.container(keyedBy: CodingKeys.self)
16+
let container = try decoder.container(keyedBy: CodingKeys.self)
1717
let fontData = try container.decode(Data.self, forKey: .nsFont)
1818
guard let nsFont = try NSKeyedUnarchiver.unarchivedObject(
1919
ofClass: NSFont.self,

0 commit comments

Comments
 (0)