diff options
author | 2024-04-02 09:42:50 +0200 | |
---|---|---|
committer | 2024-04-02 09:42:50 +0200 | |
commit | 6c75836f123eba909154ce517299c3ffcd21b25b (patch) | |
tree | 46d3f1b92efcc3b815662c23aed292dae722366d /examples/lazy/src | |
parent | c30b4b0a1c9b191bcb65ae1732581b5c96b8bcfe (diff) | |
parent | 488cac714896002791f3c7b9a99181310c1d1b5c (diff) | |
download | iced-6c75836f123eba909154ce517299c3ffcd21b25b.tar.gz iced-6c75836f123eba909154ce517299c3ffcd21b25b.tar.bz2 iced-6c75836f123eba909154ce517299c3ffcd21b25b.zip |
Merge pull request #2363 from iced-rs/specialize-text-helper
Specialize `widget::text` helper
Diffstat (limited to 'examples/lazy/src')
-rw-r--r-- | examples/lazy/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/lazy/src/main.rs b/examples/lazy/src/main.rs index 2d53df93..c3f6b8de 100644 --- a/examples/lazy/src/main.rs +++ b/examples/lazy/src/main.rs @@ -173,7 +173,7 @@ impl App { .style(button::danger); row![ - text(&item.name).color(item.color), + text(item.name.clone()).color(item.color), horizontal_space(), pick_list(Color::ALL, Some(item.color), move |color| { Message::ItemColorChanged(item.clone(), color) |