diff --git a/core/embed/rust/src/ui/model_tt/bootloader/mod.rs b/core/embed/rust/src/ui/model_tt/bootloader/mod.rs index 4417b282ca..9bfb87e621 100644 --- a/core/embed/rust/src/ui/model_tt/bootloader/mod.rs +++ b/core/embed/rust/src/ui/model_tt/bootloader/mod.rs @@ -3,7 +3,7 @@ use crate::{ trezorhal::io::io_touch_read, ui::{ component::{Component, Event, EventCtx, Label, Never}, - constant::screen, + constant::{screen, HEIGHT}, display::{self, Color, Font, Icon}, event::TouchEvent, geometry::{Alignment, Point, TOP_CENTER}, @@ -270,7 +270,7 @@ fn screen_progress( } display::text_center( - Point::new(constant::WIDTH / 2, 195), + Point::new(constant::WIDTH / 2, HEIGHT - 45), text, Font::NORMAL, fg_color, diff --git a/core/embed/rust/src/ui/model_tt/bootloader/theme.rs b/core/embed/rust/src/ui/model_tt/bootloader/theme.rs index e4165ecdb7..89d4280683 100644 --- a/core/embed/rust/src/ui/model_tt/bootloader/theme.rs +++ b/core/embed/rust/src/ui/model_tt/bootloader/theme.rs @@ -1,6 +1,6 @@ use crate::ui::{ component::{text::TextStyle, LineBreaking::BreakWordsNoHyphen}, - constant::WIDTH, + constant::{HEIGHT, WIDTH}, display::{Color, Font}, geometry::{Offset, Point, Rect}, model_tt::{ @@ -49,7 +49,7 @@ pub const CORNER_BUTTON_AREA: Rect = Rect::from_top_left_and_size( ), Offset::uniform(CORNER_BUTTON_SIZE), ); -pub const BUTTON_AREA_START: i16 = 184; +pub const BUTTON_AREA_START: i16 = HEIGHT - 56; pub const BUTTON_HEIGHT: i16 = 50; // BLD icons