commit 0f805d7ea7e7dcf6ce5caeda593ceb3cc6ac6558
parent 52ca33ef6ac5e2ee7d1b4afc081de47748005896
Author: gladiusKatana <garthsnyder@protonmail.com>
Date: Tue, 9 May 2023 18:31:45 -0400
override .isScrollEnabled in TextViewWrapper (ie, set to false at UITextView creation)
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/damus/Views/TextViewWrapper.swift b/damus/Views/TextViewWrapper.swift
@@ -15,6 +15,7 @@ struct TextViewWrapper: UIViewRepresentable {
func makeUIView(context: Context) -> UITextView {
let textView = UITextView()
textView.delegate = context.coordinator
+ textView.isScrollEnabled = false
textView.showsVerticalScrollIndicator = false
TextViewWrapper.setTextProperties(textView)
return textView