diff --git a/core/embed/rust/src/ui/component/maybe.rs b/core/embed/rust/src/ui/component/maybe.rs index 93aa00512c..ae341f3a7a 100644 --- a/core/embed/rust/src/ui/component/maybe.rs +++ b/core/embed/rust/src/ui/component/maybe.rs @@ -66,6 +66,10 @@ where pub fn inner_mut(&mut self) -> &mut T { &mut self.inner } + + pub fn is_visible(&self) -> bool { + self.visible + } } impl Component for Maybe