diff --git a/Source/Modules/UIModules/PrefUI/VwrPrefPaneKeyboard.swift b/Source/Modules/UIModules/PrefUI/VwrPrefPaneKeyboard.swift index c5a7922e..5c49f13c 100644 --- a/Source/Modules/UIModules/PrefUI/VwrPrefPaneKeyboard.swift +++ b/Source/Modules/UIModules/PrefUI/VwrPrefPaneKeyboard.swift @@ -111,9 +111,8 @@ struct VwrPrefPaneKeyboard: View { selection: $alphanumericalKeyboardLayout ) { ForEach(0 ... (IMKHelper.allowedAlphanumericalTISInputSources.count - 1), id: \.self) { id in - if let theEntry = IMKHelper.allowedAlphanumericalTISInputSources[id] { - Text(theEntry.vChewingLocalizedName).tag(theEntry.identifier) - } + let theEntry = IMKHelper.allowedAlphanumericalTISInputSources[id] + Text(theEntry.vChewingLocalizedName).tag(theEntry.identifier) }.id(UUID()) } .labelsHidden().frame(width: 290)