Skip to content

Commit

Permalink
Bump ya-client-model to v0.6 (#35)
Browse files Browse the repository at this point in the history
* Bump ya-client-model to v0.6

* Fix clippy
  • Loading branch information
nieznanysprawiciel authored Jan 8, 2024
1 parent 52723e0 commit d624f45
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ serde_json = "1.0"
serde_json_canonicalizer = "0.2.0"
thiserror = "1.0"
url = { version = "2.2", features = ["serde"] }
ya-client-model = "0.5"
ya-client-model = "0.6"

[dev-dependencies]
test-case = "3.0"
Expand Down
2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ serde_json = { version = "1.0", features = ["preserve_order"] }
crossterm = { version = "0.26.1", optional = true }
tui = { package = "ratatui", version = "0.21.0", optional = true }
url = { version = "2.3", features = ["serde"], optional = true }
ya-client-model = { version = "0.5", optional = true }
ya-client-model = { version = "0.6", optional = true }

openpgp-card = { version = "0.3.5", optional = true }
openpgp-card-pcsc = { version = "0.3.1", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion cli/src/ui/multiple_choice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ impl Component for MultipleChoice {
self.choices
.iter()
.zip(choice_areas.iter())
.zip(styles.into_iter())
.zip(styles)
.for_each(|((choice, &area), style)| {
let line = if area.width > choice.len() as u16 + 2 {
let padding = (area.width - choice.len() as u16) / 2;
Expand Down

0 comments on commit d624f45

Please sign in to comment.