Fix build when desktop feature is disabled

This commit is contained in:
Jeremy Soller 2024-09-26 10:43:49 -06:00
parent 03b6b6bb45
commit 8dd26b6ca0
No known key found for this signature in database
GPG key ID: D02FD439211AF56F

View file

@ -70,6 +70,10 @@ impl ThumbnailerCache {
thumbnailer_cache
}
#[cfg(not(feature = "desktop"))]
pub fn reload(&mut self) {}
#[cfg(feature = "desktop")]
pub fn reload(&mut self) {
use crate::localize::LANGUAGE_SORTER;