Spaces:
Runtime error
Runtime error
neon_arch
commited on
Commit
•
76419a7
1
Parent(s):
0da1b9e
✨ feat: provide code to parse the new config option (#424)
Browse files- src/config/parser.rs +1 -0
src/config/parser.rs
CHANGED
@@ -115,6 +115,7 @@ impl Config {
|
|
115 |
style: Style::new(
|
116 |
globals.get::<_, String>("theme")?,
|
117 |
globals.get::<_, String>("colorscheme")?,
|
|
|
118 |
),
|
119 |
#[cfg(feature = "redis-cache")]
|
120 |
redis_url: globals.get::<_, String>("redis_url")?,
|
|
|
115 |
style: Style::new(
|
116 |
globals.get::<_, String>("theme")?,
|
117 |
globals.get::<_, String>("colorscheme")?,
|
118 |
+
globals.get::<_, Option<String>>("animation")?,
|
119 |
),
|
120 |
#[cfg(feature = "redis-cache")]
|
121 |
redis_url: globals.get::<_, String>("redis_url")?,
|