style(gui): rustfmt collapse QR QrCode::new line in totp_page

This commit is contained in:
michael
2026-04-27 12:20:47 -07:00
parent 4b6b95c350
commit 0d99498c26

View File

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