Add quote and copy context menu actions.

This commit is contained in:
Stefan Ceriu
2022-04-18 15:13:30 +03:00
parent 7f1c24059f
commit 1e76faa1c8
6 changed files with 81 additions and 3 deletions
@@ -129,9 +129,9 @@ private struct UITextViewWrapper: UIViewRepresentable {
self.maxHeight = maxHeight
}
func textViewDidChange(_ uiView: UITextView) {
text.wrappedValue = uiView.text
UITextViewWrapper.recalculateHeight(view: uiView,
func textViewDidChange(_ textView: UITextView) {
text.wrappedValue = textView.text
UITextViewWrapper.recalculateHeight(view: textView,
result: calculatedHeight,
maxHeight: maxHeight)
}