theme: add linux system theme sources
This commit is contained in:
@@ -5,8 +5,8 @@ use super::ThemeSource;
|
||||
use crate::ThemeVariant;
|
||||
use crate::system::SystemTheme;
|
||||
|
||||
// Constructed only by `platform_source` on non-macOS targets.
|
||||
#[cfg_attr(target_os = "macos", allow(dead_code))]
|
||||
// Constructed only by `platform_source` on platforms without their own adapter.
|
||||
#[cfg_attr(any(target_os = "macos", target_os = "linux"), allow(dead_code))]
|
||||
pub(crate) struct FallbackSource;
|
||||
|
||||
impl ThemeSource for FallbackSource {
|
||||
|
||||
Reference in New Issue
Block a user