summaryrefslogtreecommitdiffstats
path: root/ui/src/components/mail/view/thread.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/components/mail/view/thread.rs')
-rw-r--r--ui/src/components/mail/view/thread.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/src/components/mail/view/thread.rs b/ui/src/components/mail/view/thread.rs
index 0a625cd9..d5d2986f 100644
--- a/ui/src/components/mail/view/thread.rs
+++ b/ui/src/components/mail/view/thread.rs
@@ -51,6 +51,7 @@ pub struct ThreadView {
dirty: bool,
content: CellBuffer,
initiated: bool,
+ id: ComponentId,
}
#[derive(Debug)]
@@ -985,4 +986,11 @@ impl Component for ThreadView {
map
}
+
+ fn id(&self) -> ComponentId {
+ self.id
+ }
+ fn set_id(&mut self, id: ComponentId) {
+ self.id = id;
+ }
}