Skip to content

Commit

Permalink
chore: fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioRibera committed Mar 10, 2024
1 parent 8add20c commit ea290fb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/sss_lib/src/img.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,10 @@ pub fn generate_image(settings: GenerationSettings, content: impl DynImageConten
let mut c = arboard::Clipboard::new().unwrap();

#[cfg(target_os = "linux")]
let set = c.set().clipboard(arboard::LinuxClipboardKind::Clipboard).wait();
let set = c
.set()
.clipboard(arboard::LinuxClipboardKind::Clipboard)
.wait();
#[cfg(not(target_os = "linux"))]
let set = c.set();
set.image(arboard::ImageData {
Expand Down

0 comments on commit ea290fb

Please sign in to comment.