Skip to content

Commit

Permalink
Apply same fix to UIKit
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmassicotte committed Jul 3, 2024
1 parent 2d9c0ea commit fa4e9c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/TextFormation/TextInterface.swift
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public final class TextInterfaceAdapter: TextInterface {
public init(textView: UITextView) {
self.getSelection = { textView.selectedRange }
self.setSelection = { textView.selectedRange = $0 }
self.storage = TextStorageAdapter(textView: textView)
self.storage = textView
}
#endif

Expand Down

0 comments on commit fa4e9c4

Please sign in to comment.