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:
parent
2eb1e5b3ca
commit
06a722cc74
@ -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();
|
||||
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user