diff options
Diffstat (limited to 'ui/src/components/mail/view')
-rw-r--r-- | ui/src/components/mail/view/envelope.rs | 2 | ||||
-rw-r--r-- | ui/src/components/mail/view/html.rs | 2 | ||||
-rw-r--r-- | ui/src/components/mail/view/thread.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/ui/src/components/mail/view/envelope.rs b/ui/src/components/mail/view/envelope.rs index 4d391d74..4e62f72b 100644 --- a/ui/src/components/mail/view/envelope.rs +++ b/ui/src/components/mail/view/envelope.rs @@ -80,7 +80,7 @@ impl EnvelopeView { wrapper, account_pos, cmd_buf: String::with_capacity(4), - id: ComponentId::default(), + id: ComponentId::new_v4(), } } diff --git a/ui/src/components/mail/view/html.rs b/ui/src/components/mail/view/html.rs index c711df5b..c6f29bf5 100644 --- a/ui/src/components/mail/view/html.rs +++ b/ui/src/components/mail/view/html.rs @@ -32,7 +32,7 @@ pub struct HtmlView { impl HtmlView { pub fn new(bytes: Vec<u8>, context: &mut Context, account_pos: usize) -> Self { - let id = ComponentId::default(); + let id = ComponentId::new_v4(); let settings = context.accounts[account_pos].runtime_settings.conf(); if let Some(filter_invocation) = settings.html_filter() { let parts = split_command!(filter_invocation); diff --git a/ui/src/components/mail/view/thread.rs b/ui/src/components/mail/view/thread.rs index 21376337..280845b1 100644 --- a/ui/src/components/mail/view/thread.rs +++ b/ui/src/components/mail/view/thread.rs @@ -133,7 +133,7 @@ impl ThreadView { cursor_pos: 1, new_cursor_pos: 0, dirty: true, - ..Default::default() + id: ComponentId::new_v4(), ..Default::default() }; view.initiate(expanded_idx, context); view.new_cursor_pos = view.new_expanded_pos; |