From ad4668933de8c4eac1828cb17b35b69eda64c8d1 Mon Sep 17 00:00:00 2001 From: cepetr Date: Thu, 2 May 2024 08:39:02 +0200 Subject: [PATCH] fixup! feat(core): introduce new drawing library --- core/embed/rust/src/ui/shape/canvas/mono8.rs | 2 +- core/embed/rust/src/ui/shape/display/fake_display.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/embed/rust/src/ui/shape/canvas/mono8.rs b/core/embed/rust/src/ui/shape/canvas/mono8.rs index 405dc8f77..6e4b73033 100644 --- a/core/embed/rust/src/ui/shape/canvas/mono8.rs +++ b/core/embed/rust/src/ui/shape/canvas/mono8.rs @@ -100,6 +100,6 @@ impl<'a> Canvas for Mono8Canvas<'a> { #[cfg(feature = "ui_blurring")] fn blur_rect(&mut self, _r: Rect, _radius: usize, _cache: &DrawingCache) { - // Not implemented + unimplemented!(); } } diff --git a/core/embed/rust/src/ui/shape/display/fake_display.rs b/core/embed/rust/src/ui/shape/display/fake_display.rs index 380455312..43d6cac82 100644 --- a/core/embed/rust/src/ui/shape/display/fake_display.rs +++ b/core/embed/rust/src/ui/shape/display/fake_display.rs @@ -7,5 +7,5 @@ pub fn render_on_display<'a, F>(_viewport: Option, _bg_color: Option>), { - panic!("Not implemented") + unimplemented!(); }