Skip to content

Commit

Permalink
build check fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HolbyFPV committed Nov 17, 2024
1 parent a03f540 commit a4f5c1b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
1 change: 1 addition & 0 deletions packages/desktop/src/providers/provider_output.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ use super::{
#[derive(Debug, Clone, PartialEq, Serialize)]
#[serde(untagged)]
pub enum ProviderOutput {
#[cfg(windows)]
Audio(AudioOutput),
Battery(BatteryOutput),
Cpu(CpuOutput),
Expand Down
15 changes: 7 additions & 8 deletions packages/desktop/src/providers/provider_ref.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,16 @@ use tokio::{
};
use tracing::{info, warn};

#[cfg(windows)]
use super::{
audio::AudioProvider, battery::BatteryProvider, cpu::CpuProvider,
disk::DiskProvider, host::HostProvider, ip::IpProvider,
memory::MemoryProvider, network::NetworkProvider,
weather::WeatherProvider, Provider, ProviderConfig, ProviderOutput,
SharedProviderState,
audio::AudioProvider, keyboard::KeyboardProvider,
komorebi::KomorebiProvider, media::MediaProvider,
};
#[cfg(windows)]
use super::{
keyboard::KeyboardProvider, komorebi::KomorebiProvider,
media::MediaProvider,
battery::BatteryProvider, cpu::CpuProvider, disk::DiskProvider,
host::HostProvider, ip::IpProvider, memory::MemoryProvider,
network::NetworkProvider, weather::WeatherProvider, Provider,
ProviderConfig, ProviderOutput, SharedProviderState,
};

/// Reference to an active provider.
Expand Down

0 comments on commit a4f5c1b

Please sign in to comment.