summaryrefslogtreecommitdiffstats
path: root/src/config/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/mod.rs')
-rw-r--r--src/config/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config/mod.rs b/src/config/mod.rs
index b52debe..04ae4ef 100644
--- a/src/config/mod.rs
+++ b/src/config/mod.rs
@@ -1913,9 +1913,9 @@ impl Config {
Some(theme)
} else {
let theme = if self.light_theme() {
- bincode::deserialize_from(LIGHT_THEME).expect("Invalid builtin light theme")
+ decode_bin(LIGHT_THEME).context("Invalid builtin light theme")?
} else {
- bincode::deserialize_from(DARK_THEME).expect("Invalid builtin dark theme")
+ decode_bin(DARK_THEME).context("Invalid builtin dark theme")?
};
Some(theme)
}