mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-27 07:40:59 +00:00
fixup! refactor(core): consistent naming of UI models
This commit is contained in:
parent
f81e740062
commit
f145d8a642
@ -26,7 +26,7 @@ use super::{
|
|||||||
},
|
},
|
||||||
FG,
|
FG,
|
||||||
},
|
},
|
||||||
UIModelTT,
|
UIModelFord,
|
||||||
};
|
};
|
||||||
|
|
||||||
use crate::ui::{ui_bootloader::BootloaderUI, CommonUI};
|
use crate::ui::{ui_bootloader::BootloaderUI, CommonUI};
|
||||||
@ -56,9 +56,9 @@ pub type BootloaderString = String<128>;
|
|||||||
|
|
||||||
const RECONNECT_MESSAGE: &str = "PLEASE RECONNECT\nTHE DEVICE";
|
const RECONNECT_MESSAGE: &str = "PLEASE RECONNECT\nTHE DEVICE";
|
||||||
|
|
||||||
const SCREEN: Rect = UIModelTT::SCREEN;
|
const SCREEN: Rect = UIModelFord::SCREEN;
|
||||||
|
|
||||||
impl UIModelTT {
|
impl UIModelFord {
|
||||||
fn screen_progress(
|
fn screen_progress(
|
||||||
text: &str,
|
text: &str,
|
||||||
progress: u16,
|
progress: u16,
|
||||||
@ -133,7 +133,7 @@ impl UIModelTT {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl BootloaderUI for UIModelTT {
|
impl BootloaderUI for UIModelFord {
|
||||||
fn screen_welcome() {
|
fn screen_welcome() {
|
||||||
let mut frame = Welcome::new();
|
let mut frame = Welcome::new();
|
||||||
show(&mut frame, true);
|
show(&mut frame, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user