mirror of
https://github.com/neon-mmd/websurfx.git
synced 2024-11-22 05:58:21 -05:00
✨ feat: provide code to parse the new config option (#424)
This commit is contained in:
parent
0da1b9e1db
commit
76419a7353
@ -115,6 +115,7 @@ impl Config {
|
|||||||
style: Style::new(
|
style: Style::new(
|
||||||
globals.get::<_, String>("theme")?,
|
globals.get::<_, String>("theme")?,
|
||||||
globals.get::<_, String>("colorscheme")?,
|
globals.get::<_, String>("colorscheme")?,
|
||||||
|
globals.get::<_, Option<String>>("animation")?,
|
||||||
),
|
),
|
||||||
#[cfg(feature = "redis-cache")]
|
#[cfg(feature = "redis-cache")]
|
||||||
redis_url: globals.get::<_, String>("redis_url")?,
|
redis_url: globals.get::<_, String>("redis_url")?,
|
||||||
|
Loading…
Reference in New Issue
Block a user