From 693ea8962ec8b77a662b949e24e8d7f9b2bb8dc1 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Fri, 3 Jul 2026 08:13:15 +0000 Subject: [PATCH] fix: correct PersonalDictionary init parameter syntax Use 'version: Int = 1' instead of invalid 'version: 1' so Swift synthesizes the default initializer and PersonalDictionary() compiles. Co-authored-by: Rocky --- OSGKeyboardShared/Models/PersonalDictionary.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OSGKeyboardShared/Models/PersonalDictionary.swift b/OSGKeyboardShared/Models/PersonalDictionary.swift index a197332..af2860e 100644 --- a/OSGKeyboardShared/Models/PersonalDictionary.swift +++ b/OSGKeyboardShared/Models/PersonalDictionary.swift @@ -23,7 +23,7 @@ public struct PersonalDictionary: Codable, Sendable, Equatable { public var entries: [Entry] public var version: Int - public init(entries: [Entry] = [], version: 1) { + public init(entries: [Entry] = [], version: Int = 1) { self.entries = entries self.version = version }