diff options
Diffstat (limited to 'ui/src/components/mail/view')
-rw-r--r-- | ui/src/components/mail/view/envelope.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/components/mail/view/envelope.rs b/ui/src/components/mail/view/envelope.rs index 3cb4a516..58e49a6d 100644 --- a/ui/src/components/mail/view/envelope.rs +++ b/ui/src/components/mail/view/envelope.rs @@ -48,7 +48,7 @@ impl ViewMode { #[derive(Debug)] pub struct EnvelopeView { pager: Option<Pager>, - subview: Option<Box<Component>>, + subview: Option<Box<dyn Component>>, dirty: bool, mode: ViewMode, wrapper: EnvelopeWrapper, @@ -69,7 +69,7 @@ impl EnvelopeView { pub fn new( wrapper: EnvelopeWrapper, pager: Option<Pager>, - subview: Option<Box<Component>>, + subview: Option<Box<dyn Component>>, account_pos: usize, ) -> Self { EnvelopeView { |