From d9c8607be0c86372971ba976c53adf959a9e7469 Mon Sep 17 00:00:00 2001 From: Mike Dilger Date: Fri, 1 Nov 2024 12:02:31 +1300 Subject: [PATCH] Fix argument when video disabled --- gossip-bin/src/ui/feed/note/content/media.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gossip-bin/src/ui/feed/note/content/media.rs b/gossip-bin/src/ui/feed/note/content/media.rs index 91be1c88..fe1f915c 100644 --- a/gossip-bin/src/ui/feed/note/content/media.rs +++ b/gossip-bin/src/ui/feed/note/content/media.rs @@ -340,7 +340,13 @@ fn try_render_video( } #[cfg(not(feature = "video-ffmpeg"))] -fn try_render_video(_app: &mut GossipUi, _ui: &mut Ui, _url: Url, _volatile: bool) -> bool { +fn try_render_video( + _app: &mut GossipUi, + _ui: &mut Ui, + _url: Url, + _volatile: bool, + _file_metadata: Option, +) -> bool { true }