notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

commit 0945b21710e861daabb106fae16cd9624d4c3f3d
parent 7dcfde710935baefc22358273181610b2f5ba4e8
Author: William Casarin <jb55@jb55.com>
Date:   Mon, 12 Feb 2024 01:07:22 -0800

disable inline image renderer for now

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Msrc/app.rs | 12+++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/src/app.rs b/src/app.rs @@ -658,15 +658,17 @@ fn render_note_contents( } BlockType::Url => { + /* let url = block.as_str().to_lowercase(); if url.ends_with("png") || url.ends_with("jpg") { images.push(url); } else { - ui.add(Hyperlink::from_label_and_url( - RichText::new(block.as_str()).color(PURPLE), - block.as_str(), - )); - } + */ + ui.add(Hyperlink::from_label_and_url( + RichText::new(block.as_str()).color(PURPLE), + block.as_str(), + )); + //} } BlockType::Text => {