mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-18 20:48:18 +00:00
testing haptic feedback - for designers
This commit is contained in:
parent
316f1d2b4e
commit
9e193b79b1
@ -105,7 +105,7 @@ where
|
|||||||
|
|
||||||
fn generate_digit_buttons() -> [Child<Button<&'static str>>; DIGIT_COUNT] {
|
fn generate_digit_buttons() -> [Child<Button<&'static str>>; DIGIT_COUNT] {
|
||||||
// Generate a random sequence of digits from 0 to 9.
|
// Generate a random sequence of digits from 0 to 9.
|
||||||
let mut digits = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
|
let mut digits = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0"];
|
||||||
//random::shuffle(&mut digits);
|
//random::shuffle(&mut digits);
|
||||||
digits
|
digits
|
||||||
.map(Button::with_text)
|
.map(Button::with_text)
|
||||||
|
Loading…
Reference in New Issue
Block a user