summaryrefslogtreecommitdiffstats
path: root/examples/lazy/src
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector@hecrj.dev>2024-04-02 09:42:50 +0200
committerLibravatar GitHub <noreply@github.com>2024-04-02 09:42:50 +0200
commit6c75836f123eba909154ce517299c3ffcd21b25b (patch)
tree46d3f1b92efcc3b815662c23aed292dae722366d /examples/lazy/src
parentc30b4b0a1c9b191bcb65ae1732581b5c96b8bcfe (diff)
parent488cac714896002791f3c7b9a99181310c1d1b5c (diff)
downloadiced-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.rs2
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)