Skip to content

Commit

Permalink
Update to [email protected] (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjajaja authored Apr 2, 2024
1 parent a98bbd9 commit 72d3543
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ notify-rust = { version = "4.10.0", default-features = false, features = ["zbus"
open = "3.2.0"
rand = "0.8.5"
ratatui = "0.23"
ratatui-image = { version = "0.8.1", features = ["serde"] }
ratatui-image = { version = "1.0.0", features = ["serde"] }
regex = "^1.5"
rpassword = "^7.2"
serde = "^1.0"
Expand Down
2 changes: 1 addition & 1 deletion src/preview.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ pub fn spawn_insert_preview(
})
.and_then(|(picker, msg, image_preview)| {
picker
.new_protocol(img, image_preview.size.into(), Resize::Fit)
.new_protocol(img, image_preview.size.into(), Resize::Fit(None))
.map_err(|err| IambError::Preview(format!("{err:?}")))
.map(|backend| (backend, msg))
}) {
Expand Down

0 comments on commit 72d3543

Please sign in to comment.