summaryrefslogtreecommitdiffstats
path: root/examples/stopwatch
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-08-23 20:50:31 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-08-23 20:50:31 +0200
commit398a3f08973f39ad7cb67a236b2e6b44e57d453b (patch)
tree7313421f605139ca3deb0139259e525259a4aea4 /examples/stopwatch
parent7e5be8680b997aa10062617763c49f4497d95908 (diff)
downloadiced-398a3f08973f39ad7cb67a236b2e6b44e57d453b.tar.gz
iced-398a3f08973f39ad7cb67a236b2e6b44e57d453b.tar.bz2
iced-398a3f08973f39ad7cb67a236b2e6b44e57d453b.zip
Use `Dark` theme in `stopwatch` example
Diffstat (limited to 'examples/stopwatch')
-rw-r--r--examples/stopwatch/src/main.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/stopwatch/src/main.rs b/examples/stopwatch/src/main.rs
index 9581a3ce..842ba3d4 100644
--- a/examples/stopwatch/src/main.rs
+++ b/examples/stopwatch/src/main.rs
@@ -134,4 +134,8 @@ impl Application for Stopwatch {
.center_y()
.into()
}
+
+ fn theme(&self) -> Theme {
+ Theme::Dark
+ }
}