summaryrefslogtreecommitdiffstats
path: root/examples/gradient
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector@hecrj.dev>2024-03-25 22:21:22 +0100
committerLibravatar GitHub <noreply@github.com>2024-03-25 22:21:22 +0100
commiteae4065300e9997db12268be55eceb4e4c294b1e (patch)
tree677326f37ac8bbf922c18369d0f1d4955852fb18 /examples/gradient
parenta2a8381a49ac2dd1cd65eb382b9ee02bbfa17286 (diff)
parent74373cb086da6097eae7d2e8bd6348aaf7c43857 (diff)
downloadiced-eae4065300e9997db12268be55eceb4e4c294b1e.tar.gz
iced-eae4065300e9997db12268be55eceb4e4c294b1e.tar.bz2
iced-eae4065300e9997db12268be55eceb4e4c294b1e.zip
Merge pull request #2350 from iced-rs/theming-revolutions
Theming Revolutions
Diffstat (limited to 'examples/gradient')
-rw-r--r--examples/gradient/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/gradient/src/main.rs b/examples/gradient/src/main.rs
index 22c21cdd..2b906c32 100644
--- a/examples/gradient/src/main.rs
+++ b/examples/gradient/src/main.rs
@@ -60,7 +60,7 @@ impl Gradient {
} = *self;
let gradient_box = container(horizontal_space())
- .style(move |_theme, _status| {
+ .style(move |_theme| {
let gradient = gradient::Linear::new(angle)
.add_stop(0.0, start)
.add_stop(1.0, end);