PrefUI // Fix a compilation error happened with Xcode 14.3.
This commit is contained in:
parent
0990fdceb1
commit
d269c82bcd
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue