From 11bad835f1762d9085896cac1b153604e7151d9e Mon Sep 17 00:00:00 2001 From: obrusvit Date: Tue, 15 Jul 2025 19:11:24 +0200 Subject: [PATCH] feat(eckhart): minor bld UI updates - gradient for BldActionBar - using icons and divider in BldActionBar of ConfirmPairingScreen [no changelog] --- .../bootloader/bld_actionbar.rs | 29 +++++++++++++++---- .../bootloader/confirm_pairing.rs | 10 ++----- .../ui/layout_eckhart/bootloader/connect.rs | 2 +- .../bootloader/pairing_finalization.rs | 2 +- .../bootloader/wireless_setup_screen.rs | 7 ++--- .../ui/layout_eckhart/firmware/action_bar.rs | 2 +- .../src/ui/layout_eckhart/ui_bootloader.rs | 14 +++------ 7 files changed, 37 insertions(+), 29 deletions(-) diff --git a/core/embed/rust/src/ui/layout_eckhart/bootloader/bld_actionbar.rs b/core/embed/rust/src/ui/layout_eckhart/bootloader/bld_actionbar.rs index e4d195c9f3..b54f0e0744 100644 --- a/core/embed/rust/src/ui/layout_eckhart/bootloader/bld_actionbar.rs +++ b/core/embed/rust/src/ui/layout_eckhart/bootloader/bld_actionbar.rs @@ -1,10 +1,13 @@ use crate::ui::{ component::{Component, Event, EventCtx}, - geometry::{Insets, Offset, Rect}, - shape::Renderer, + geometry::{Alignment2D, Insets, Offset, Rect}, + shape::{self, Renderer}, }; -use super::super::component::{Button, ButtonMsg}; +use super::super::{ + component::{Button, ButtonMsg}, + theme::{self, Gradient}, +}; /// Component for control buttons in the bottom of the screen. Reduced variant /// for Bootloader UI. @@ -15,6 +18,8 @@ pub struct BldActionBar { right_button: Button, /// Optional left button. left_button: Option