@@ -25,7 +25,6 @@ struct ConfigWindow: View {
2525 @State private var zenzaiInferenceLimitHelpPopover = false
2626 @State private var openAiApiKeyPopover = false
2727 @State private var connectionTestInProgress = false
28- @State private var showingRomajiTableEditor = false
2928 @State private var connectionTestResult : String ?
3029 @State private var systemUserDictionaryUpdateMessage : SystemUserDictionaryUpdateMessage ?
3130
@@ -169,13 +168,7 @@ struct ConfigWindow: View {
169168 Text ( " デフォルト " ) . tag ( Config . InputStyle. Value. default)
170169 Text ( " かな入力(JIS) " ) . tag ( Config . InputStyle. Value. defaultKanaJIS)
171170 Text ( " かな入力(US) " ) . tag ( Config . InputStyle. Value. defaultKanaUS)
172- Text ( " AZIK " ) . tag ( Config . InputStyle. Value. defaultAZIK)
173- Text ( " カスタム " ) . tag ( Config . InputStyle. Value. custom)
174- }
175- if inputStyle. value == . custom {
176- Button ( " カスタム入力テーブルを編集 " ) {
177- showingRomajiTableEditor = true
178- }
171+ Text ( " AZIK(β版) " ) . tag ( Config . InputStyle. Value. defaultAZIK)
179172 }
180173 Divider ( )
181174 Toggle ( " ライブ変換を有効化 " , isOn: $liveConversion)
@@ -284,17 +277,6 @@ struct ConfigWindow: View {
284277 }
285278 . fixedSize ( )
286279 . frame ( width: 500 )
287- . sheet ( isPresented: $showingRomajiTableEditor) {
288- RomajiTableEditorWindow ( base: CustomInputTableStore . loadTable ( ) ) { exported in
289- do {
290- _ = try CustomInputTableStore . save ( exported: exported)
291- // Re-register the custom input style so it is immediately available
292- CustomInputTableStore . registerIfExists ( )
293- } catch {
294- print ( " Failed to save custom input table: " , error)
295- }
296- }
297- }
298280 }
299281}
300282
0 commit comments