Skip to content

Commit fa4e9c4

Browse files
Apply same fix to UIKit
1 parent 2d9c0ea commit fa4e9c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/TextFormation/TextInterface.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public final class TextInterfaceAdapter: TextInterface {
5858
public init(textView: UITextView) {
5959
self.getSelection = { textView.selectedRange }
6060
self.setSelection = { textView.selectedRange = $0 }
61-
self.storage = TextStorageAdapter(textView: textView)
61+
self.storage = textView
6262
}
6363
#endif
6464

0 commit comments

Comments
 (0)