notedeck

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

commit f8f3676450eab0ab38f443b3c6b5d90eacda5c88
parent 8f4daa5e8998322862cc461bd0b4bc17f8feeb48
Author: William Casarin <jb55@jb55.com>
Date:   Mon,  3 Feb 2025 11:38:55 -0800

clippy fixes

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

Diffstat:
Mcrates/notedeck_columns/src/media_upload.rs | 2+-
Mcrates/notedeck_columns/src/ui/note/post.rs | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/crates/notedeck_columns/src/media_upload.rs b/crates/notedeck_columns/src/media_upload.rs @@ -118,7 +118,7 @@ fn create_nip96_request( method: "POST".to_string(), url: upload_url.to_string(), headers, - body: body.into(), + body, } } diff --git a/crates/notedeck_columns/src/ui/note/post.rs b/crates/notedeck_columns/src/ui/note/post.rs @@ -269,7 +269,7 @@ impl<'a> PostView<'a> { let m_cached_promise = self.img_cache.map().get(&media.url); if m_cached_promise.is_none() { let promise = fetch_img( - &self.img_cache, + self.img_cache, ui.ctx(), &media.url, crate::images::ImageType::Content(width, height),