1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-02 04:42:33 +00:00
trezor-firmware/core/embed/rust/src/ui/component/empty.rs
Martin Milata 4d60c10330 feat(core/rust): add support for T1 UI
[no changelog]
2021-11-24 15:36:34 +01:00

14 lines
265 B
Rust

use crate::ui::component::{Component, Event, EventCtx, Never};
pub struct Empty;
impl Component for Empty {
type Msg = Never;
fn event(&mut self, _ctx: &mut EventCtx, _event: Event) -> Option<Self::Msg> {
None
}
fn paint(&mut self) {}
}