Skip to content

Commit cd02139

Browse files
committed
wrap in InputScopeName
1 parent e81acde commit cd02139

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/WinUIBackend/WinUIBackend.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -820,10 +820,10 @@ public final class WinUIBackend: AppBackend {
820820
.url
821821
}
822822

823-
setInputScope(for: textField, to: inputScope)
823+
setInputScope(for: textField, to: InputScopeName(inputScope))
824824
}
825825

826-
private func setInputScope(for textField: TextBox, to value: InputScopeNameValue) {
826+
private func setInputScope(for textField: TextBox, to value: InputScopeName) {
827827
if let inputScope = textField.inputScope,
828828
inputScope.names.count == 1
829829
{

0 commit comments

Comments
 (0)