Skip to content

Commit fa0bb4f

Browse files
committed
chore(iced): update to 0.14.0
1 parent 4732812 commit fa0bb4f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ clippy.nursery = "warn"
2323
ansi_term = { version = "0.12", optional = true }
2424
bevy = { version = "0.17", default-features = false, optional = true }
2525
css-colors = { version = "1.0", optional = true }
26-
iced = { version = "0.13.1", optional = true }
26+
iced = { version = "0.14.0", optional = true }
2727
ratatui-core = { version = "0.1.0", optional = true }
2828
serde = { version = "1.0", features = ["derive"], optional = true }
2929

examples/iced.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ impl Counter {
6868
}
6969

7070
fn main() -> Result {
71-
application("Counter", Counter::update, Counter::view)
71+
application(|| Counter { value: 0 }, Counter::update, Counter::view)
7272
.style(move |_, _| Appearance {
7373
background_color: COLORS.base.into(),
7474
text_color: COLORS.text.into(),

0 commit comments

Comments
 (0)