Skip to content

Commit

Permalink
fix: Desktop notify for linux should not enabled on other targets (#717)
Browse files Browse the repository at this point in the history
  • Loading branch information
sasa-tomic authored Aug 13, 2024
1 parent e6d65ec commit 5c9af44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rs/cli/src/desktop_notify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ impl DesktopNotifier {
}
}

#[cfg(target_os = "linux")]
fn notify(title: &str, message: &str, level: &str) {
let urgency = if level == "critical" {
warn!("{}: {}", title, message);
Expand Down

0 comments on commit 5c9af44

Please sign in to comment.