Skip to content

Commit

Permalink
Fix argument when video disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedilger committed Oct 31, 2024
1 parent 6dd1b04 commit d9c8607
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion gossip-bin/src/ui/feed/note/content/media.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<FileMetadata>,
) -> bool {
true
}

Expand Down

0 comments on commit d9c8607

Please sign in to comment.