diff options
author | 2023-08-23 20:50:31 +0200 | |
---|---|---|
committer | 2023-08-23 20:50:31 +0200 | |
commit | 398a3f08973f39ad7cb67a236b2e6b44e57d453b (patch) | |
tree | 7313421f605139ca3deb0139259e525259a4aea4 /examples/stopwatch | |
parent | 7e5be8680b997aa10062617763c49f4497d95908 (diff) | |
download | iced-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.rs | 4 |
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 + } } |