From 1783f2c3f7c861cfb548779f8be39833c9a724d0 Mon Sep 17 00:00:00 2001 From: ardocrat Date: Sun, 5 May 2024 15:24:07 +0300 Subject: [PATCH] ui: fix edit text scan button show --- src/gui/views/views.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/views/views.rs b/src/gui/views/views.rs index f0b16fe..2fc2eec 100644 --- a/src/gui/views/views.rs +++ b/src/gui/views/views.rs @@ -347,7 +347,7 @@ impl View { } // Setup scan QR code button. - if options.paste { + if options.scan_qr { let scan_icon = SCAN.to_string(); View::button(ui, scan_icon, Colors::WHITE, || { //TODO: open scanner