diff --git a/src/views/text_view.rs b/src/views/text_view.rs index 3752b4b..db7d783 100644 --- a/src/views/text_view.rs +++ b/src/views/text_view.rs @@ -136,7 +136,7 @@ impl TextView { /// Creates a new TextView using the given `Arc>`. pub fn new_with_content(content: TextContent) -> Self { TextView { - content: Arc::clone(&content.content), + content: content.content, rows: Vec::new(), scrollable: true, scrollbase: ScrollBase::new(),