mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 23:08:14 +00:00
feat(core): make middle-click unlock the device for T2B1
[no changelog]
This commit is contained in:
parent
8a4f376f20
commit
37fcbceded
@ -178,7 +178,9 @@ where
|
||||
T: StringType + Clone,
|
||||
{
|
||||
pub fn new(label: T, bootscreen: bool) -> Self {
|
||||
let invisible_btn_layout = ButtonLayout::text_none_text("".into(), "".into());
|
||||
// Buttons will not be visible, we only need all three of them to be present,
|
||||
// so that even middle-click triggers the event.
|
||||
let invisible_btn_layout = ButtonLayout::arrow_armed_arrow("".into());
|
||||
let instruction_str = if bootscreen {
|
||||
"Click to Connect"
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user