diff --git a/core/embed/rust/src/ui/model_tt/component/hs_render.rs b/core/embed/rust/src/ui/model_tt/component/hs_render.rs index 580a25e131..b0360274b5 100644 --- a/core/embed/rust/src/ui/model_tt/component/hs_render.rs +++ b/core/embed/rust/src/ui/model_tt/component/hs_render.rs @@ -435,9 +435,7 @@ pub fn homescreen_blurred(data: &[u8], texts: Vec) { }; if clear_bg { - for i in &mut dest { - *i = 0; - } + dest.fill(0); } for i in 0..HOMESCREEN_IMAGE_SCALE { @@ -542,9 +540,7 @@ pub fn homescreen( }; if clear_bg { - for i in &mut dest { - *i = 0; - } + dest.fill(0); } for i in 0..HOMESCREEN_IMAGE_SCALE {