From b6f475e8e0f6caa4249395190b03e66ba826e54b Mon Sep 17 00:00:00 2001 From: kenmueller Date: Fri, 10 Apr 2020 21:24:56 -0700 Subject: [PATCH] Fixed self. --- Sources/TextView/TextView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/TextView/TextView.swift b/Sources/TextView/TextView.swift index 1b1e4d3..7e35207 100644 --- a/Sources/TextView/TextView.swift +++ b/Sources/TextView/TextView.swift @@ -106,7 +106,7 @@ public struct TextView: View { textView.isUserInteractionEnabled = isUserInteractionEnabled DispatchQueue.main.async { - _ = isEditing + _ = self.isEditing ? textView.becomeFirstResponder() : textView.resignFirstResponder() }