From 63bf92f172c51961499228cb6c838ae7cf76e5ff Mon Sep 17 00:00:00 2001 From: 2ro <17595647+2ro@users.noreply.github.com> Date: Sun, 14 Jun 2026 00:58:01 -0400 Subject: [PATCH] Build 62: fix the in-field QR scan icon not opening the scanner MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Build 60 moved the scan-to-pay screen behind a new `scan_open` flag (for the Scan | My Code toggle), but the recipient picker (Send to / Request from) still opened the scanner by setting only `self.scan` — which no longer gates the screen. So tapping the QR icon in the search field silently started the camera and showed nothing. Set `scan_open` + the Scan tab there too (keeping `scan` so the Scan branch does not double-start the camera). --- src/gui/views/goblin/send.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gui/views/goblin/send.rs b/src/gui/views/goblin/send.rs index 6224c81..b1075e7 100644 --- a/src/gui/views/goblin/send.rs +++ b/src/gui/views/goblin/send.rs @@ -375,6 +375,11 @@ impl SendFlow { }); }); if open_scan { + // The field's scan_qr already started the camera; open the scan-to-pay + // screen on the Scan tab so the feed actually shows (the screen is gated + // on `scan_open`, not `scan`). + self.scan_open = true; + self.scan_tab = ScanTab::Scan; self.scan = Some(CameraContent::default()); self.error = None; }