summaryrefslogtreecommitdiffstats
path: root/examples/toast
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-05-19 03:32:21 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-05-19 03:32:21 +0200
commit4c1a082f0468a59099bbf8aa8991420a41234948 (patch)
tree42308071bc180f364c71cdc0bb0011235c01fe14 /examples/toast
parent6551a0b2ab6c831dd1d3646ecf55180339275e22 (diff)
downloadiced-4c1a082f0468a59099bbf8aa8991420a41234948.tar.gz
iced-4c1a082f0468a59099bbf8aa8991420a41234948.tar.bz2
iced-4c1a082f0468a59099bbf8aa8991420a41234948.zip
Remove `Builder` abstractions for gradients
Diffstat (limited to 'examples/toast')
-rw-r--r--examples/toast/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/toast/src/main.rs b/examples/toast/src/main.rs
index 9d859258..515218e7 100644
--- a/examples/toast/src/main.rs
+++ b/examples/toast/src/main.rs
@@ -226,7 +226,7 @@ mod toast {
};
container::Appearance {
- background: pair.color.into(),
+ background: Some(pair.color.into()),
text_color: pair.text.into(),
..Default::default()
}