1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-02 02:41:28 +00:00

fix(core): fix boot screen background color when showing no-warning vendor info

[no changelog]
This commit is contained in:
tychovrahe 2025-01-23 16:43:58 +01:00 committed by TychoVrahe
parent 2eb1e5b3ca
commit 06a722cc74
2 changed files with 10 additions and 2 deletions

View File

@ -354,7 +354,11 @@ impl BootloaderUI for UIBolt {
vendor_img: &'static [u8],
wait: i32,
) {
let bg_color = if warning { BLD_WARN_COLOR } else { BLD_BG };
let bg_color = if warning {
BLD_WARN_COLOR
} else {
WELCOME_COLOR
};
display::sync();

View File

@ -394,7 +394,11 @@ impl BootloaderUI for UIDelizia {
vendor_img: &'static [u8],
wait: i32,
) {
let bg_color = if warning { BLD_WARN_COLOR } else { BLD_BG };
let bg_color = if warning {
BLD_WARN_COLOR
} else {
WELCOME_COLOR
};
display::sync();