Skip to content

Commit

Permalink
cargo format
Browse files Browse the repository at this point in the history
  • Loading branch information
jherzstein committed Dec 7, 2024
1 parent 62732e5 commit d60f12c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,8 @@ fn sender_print_code(

writeln!(term, "This is equivalent to the following link: \u{001B}]8;;{}\u{001B}\\{}\u{001B}]8;;\u{001B}\\", &uri, &uri)?;
if qr {
let qr_code = qr2term::generate_qr_string(&uri).context("Failed to generate QR code for send link")?;
let qr_code = qr2term::generate_qr_string(&uri)
.context("Failed to generate QR code for send link")?;
writeln!(term, "{}", qr_code)?;
} else {
writeln!(term, "QR option not enabled. Skipping QR code generation.")?;
Expand Down

0 comments on commit d60f12c

Please sign in to comment.