pass outputs and state to nfc task so that they can show errors on their own

This commit is contained in:
2026-08-30 09:18:53 +00:00
parent 3d36885e11
commit 3c657045ca
5 changed files with 79 additions and 43 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ impl Navigable for ErrorView {
.alignment(HorizontalAlignment::Center)
.build();
let bounds = Rectangle::new(Point::new(0, 30), display_area.size);
let bounds = Rectangle::new(Point::new(0, 50), display_area.size);
TextBox::with_textbox_style(&self.error.to_string(), bounds, style, textbox_style)
.draw(&mut outputs.primary_display)