1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-15 12:08:59 +00:00

fix(core): Fix success color and icon in set_brightness flow

This commit is contained in:
Lukas Bielesch 2024-11-08 20:00:29 +01:00 committed by Lukáš Bielesch
parent 2e7459f54c
commit 5e01288ba6
2 changed files with 2 additions and 0 deletions

View File

@ -0,0 +1 @@
[T3T1] Fix color and icon for 'Success' string in set_brightness flow.

View File

@ -131,6 +131,7 @@ impl SetBrightness {
)
.with_footer(TR::instructions__swipe_up.into(), None)
.with_swipe(Direction::Up, SwipeSettings::default())
.with_result_icon(theme::ICON_BULLET_CHECKMARK, theme::GREEN_LIGHT)
.map(move |_msg| Some(FlowMsg::Confirmed));
let res = SwipeFlow::new(&SetBrightness::Slider)?