pass outputs and state to nfc task so that they can show errors on their own
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user