summaryrefslogtreecommitdiffstats
path: root/ui/src/components/mail.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/components/mail.rs')
-rw-r--r--ui/src/components/mail.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/ui/src/components/mail.rs b/ui/src/components/mail.rs
index 503c669b..0eda5942 100644
--- a/ui/src/components/mail.rs
+++ b/ui/src/components/mail.rs
@@ -48,6 +48,7 @@ pub struct AccountMenu {
dirty: bool,
visible: bool,
cursor: Option<(usize, usize)>,
+ id: ComponentId,
}
impl fmt::Display for AccountMenu {
@@ -72,6 +73,7 @@ impl AccountMenu {
visible: true,
dirty: true,
cursor: None,
+ id: ComponentId::default(),
}
}
/*
@@ -301,4 +303,11 @@ impl Component for AccountMenu {
.cloned()
.collect()
}
+
+ fn id(&self) -> ComponentId {
+ self.id
+ }
+ fn set_id(&mut self, id: ComponentId) {
+ self.id = id;
+ }
}