ui: fix edit text scan button show

This commit is contained in:
ardocrat 2024-05-05 15:24:07 +03:00
parent e1bced0ab6
commit 1783f2c3f7

View file

@ -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