update theme import

This commit is contained in:
glyph 2022-03-20 15:36:37 +02:00
parent 976fac973d
commit cad3fc94c8
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
use maud::{html, PreEscaped};
use crate::utils;
use crate::utils::theme;
/// Navigation template builder.
///
@ -11,7 +11,7 @@ pub fn build_template(
back: Option<&str>,
) -> PreEscaped<String> {
// retrieve the current theme value
let theme = utils::get_theme();
let theme = theme::get_theme();
// conditionally render the hermies icon and theme-switcher icon with correct link
let (hermies, switcher) = match theme.as_str() {