Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
NotAShelf committed Mar 18, 2024
1 parent b72f72c commit eb6dcf0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/svg/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ impl ResvgRenderer {
};

match enabled {
true => vec![renderer.to_icon(&SVG_DATA)],
true => vec![renderer.to_icon(SVG_DATA)],
false => vec![renderer.to_icon(&SVG_DATA.replace("1.0", "0.4"))],
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/tailscale/peer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pub fn copy_peer_ip(peer_ip: &str, notif_title: &str) {

let _result = Notification::new()
.summary(notif_title)
.body(&message)
.body(message)
.icon("error")
.show();
}
Expand Down

0 comments on commit eb6dcf0

Please sign in to comment.