Skip to content

Commit

Permalink
Fixed self.
Browse files Browse the repository at this point in the history
  • Loading branch information
kenmueller committed Apr 11, 2020
1 parent 3a9b7f0 commit b6f475e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/TextView/TextView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public struct TextView: View {
textView.isUserInteractionEnabled = isUserInteractionEnabled

DispatchQueue.main.async {
_ = isEditing
_ = self.isEditing
? textView.becomeFirstResponder()
: textView.resignFirstResponder()
}
Expand Down

0 comments on commit b6f475e

Please sign in to comment.