summaryrefslogtreecommitdiffstats
path: root/examples/markdown
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-07-18 15:14:54 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-07-18 15:14:54 +0200
commit06acb740fba1889c6a9fb48dfa3ae3aaac1df3ab (patch)
tree883f5752e3cfe516ee22048015e9255b502bb04e /examples/markdown
parent06dc507beba311f0862a0619285dc3d97348fd65 (diff)
downloadiced-06acb740fba1889c6a9fb48dfa3ae3aaac1df3ab.tar.gz
iced-06acb740fba1889c6a9fb48dfa3ae3aaac1df3ab.tar.bz2
iced-06acb740fba1889c6a9fb48dfa3ae3aaac1df3ab.zip
Return proper `theme` in `markdown` example
Diffstat (limited to 'examples/markdown')
-rw-r--r--examples/markdown/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/markdown/src/main.rs b/examples/markdown/src/main.rs
index 28b5941f..d902a4f7 100644
--- a/examples/markdown/src/main.rs
+++ b/examples/markdown/src/main.rs
@@ -68,6 +68,6 @@ impl Markdown {
}
fn theme(&self) -> Theme {
- Theme::TokyoNight
+ self.theme.clone()
}
}