style(gui): rustfmt collapse QR QrCode::new line in totp_page
This commit is contained in:
@@ -144,8 +144,7 @@ impl TotpPage {
|
||||
// installed, Pixbuf creation fails and we silently skip the visual —
|
||||
// the secret_b32 + URI in the body remain a working manual-entry
|
||||
// fallback.
|
||||
let qr =
|
||||
qrcode::QrCode::new(otpauth_uri.as_bytes()).expect("otpauth URI is QR-encodable");
|
||||
let qr = qrcode::QrCode::new(otpauth_uri.as_bytes()).expect("otpauth URI is QR-encodable");
|
||||
let svg = qr
|
||||
.render::<qrcode::render::svg::Color<'_>>()
|
||||
.min_dimensions(256, 256)
|
||||
|
||||
Reference in New Issue
Block a user