mirror of
https://code.gri.mw/GUI/grim.git
synced 2026-07-16 11:48:55 +00:00
ui: fix edit text scan button show
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user