mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-20 13:38:11 +00:00
WIP - PIN starts at digit 0
This commit is contained in:
parent
ee867fbeb7
commit
51a65b9c26
@ -96,8 +96,9 @@ impl PinEntry {
|
|||||||
let choices = ChoiceFactoryPIN::new(prompt);
|
let choices = ChoiceFactoryPIN::new(prompt);
|
||||||
|
|
||||||
Self {
|
Self {
|
||||||
|
// Starting at the digit 0
|
||||||
choice_page: ChoicePage::new(choices)
|
choice_page: ChoicePage::new(choices)
|
||||||
.with_initial_page_counter(PROMPT_INDEX as u8)
|
.with_initial_page_counter(PROMPT_INDEX as u8 + 1)
|
||||||
.with_carousel(),
|
.with_carousel(),
|
||||||
pin_dots: Child::new(ChangingTextLine::center_mono(String::new())),
|
pin_dots: Child::new(ChangingTextLine::center_mono(String::new())),
|
||||||
show_real_pin: false,
|
show_real_pin: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user