1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-26 15:20:58 +00:00

fixup! refactor(core): consistent naming of UI models

This commit is contained in:
obrusvit 2025-01-08 17:56:11 +01:00
parent f81e740062
commit f145d8a642

View File

@ -26,7 +26,7 @@ use super::{
},
FG,
},
UIModelTT,
UIModelFord,
};
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 SCREEN: Rect = UIModelTT::SCREEN;
const SCREEN: Rect = UIModelFord::SCREEN;
impl UIModelTT {
impl UIModelFord {
fn screen_progress(
text: &str,
progress: u16,
@ -133,7 +133,7 @@ impl UIModelTT {
}
}
impl BootloaderUI for UIModelTT {
impl BootloaderUI for UIModelFord {
fn screen_welcome() {
let mut frame = Welcome::new();
show(&mut frame, true);