summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-02-10 00:39:31 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-02-10 00:39:31 +0100
commit6600f66cbd7c3c4538c7fd77ba3517fcb60da606 (patch)
treebd778f2033d582eff7ccf0601ca83b2e5a3cf87c /examples
parent8a8c1ab2c8a0777425c60d4a36d6dd4b2589501f (diff)
downloadiced-6600f66cbd7c3c4538c7fd77ba3517fcb60da606.tar.gz
iced-6600f66cbd7c3c4538c7fd77ba3517fcb60da606.tar.bz2
iced-6600f66cbd7c3c4538c7fd77ba3517fcb60da606.zip
Fix `style` in `solar_system` example
Diffstat (limited to 'examples')
-rw-r--r--examples/solar_system/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/solar_system/src/main.rs b/examples/solar_system/src/main.rs
index 82421a86..a58ca683 100644
--- a/examples/solar_system/src/main.rs
+++ b/examples/solar_system/src/main.rs
@@ -88,7 +88,7 @@ impl Application for SolarSystem {
}
}
- theme::Application::from(dark_background as fn(&Theme) -> _)
+ theme::Application::custom(dark_background)
}
fn subscription(&self) -> Subscription<Message> {