feat(core): make middle-click unlock the device for T2B1

[no changelog]
pull/3366/head
grdddj 8 months ago committed by Jiří Musil
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…
Cancel
Save