refactor(icon): use COSMIC variable for default icon theme name

This commit is contained in:
Ashley Wulber 2024-03-19 16:13:11 -04:00 committed by Jeremy Soller
parent 61427b25b0
commit c6bb69eafd

View file

@ -10,7 +10,7 @@ pub const COSMIC: &str = "Cosmic";
thread_local! {
/// The fallback icon theme to search if no icon theme was specified.
pub(crate) static DEFAULT: RefCell<Cow<'static, str>> = RefCell::new("Cosmic".into());
pub(crate) static DEFAULT: RefCell<Cow<'static, str>> = RefCell::new(COSMIC.into());
}
/// The fallback icon theme to search if no icon theme was specified.