ui: fix edit text scan button show
This commit is contained in:
parent
e1bced0ab6
commit
1783f2c3f7
1 changed files with 1 additions and 1 deletions
|
@ -347,7 +347,7 @@ impl View {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Setup scan QR code button.
|
// Setup scan QR code button.
|
||||||
if options.paste {
|
if options.scan_qr {
|
||||||
let scan_icon = SCAN.to_string();
|
let scan_icon = SCAN.to_string();
|
||||||
View::button(ui, scan_icon, Colors::WHITE, || {
|
View::button(ui, scan_icon, Colors::WHITE, || {
|
||||||
//TODO: open scanner
|
//TODO: open scanner
|
||||||
|
|
Loading…
Reference in a new issue