diff options
author | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2020-01-07 12:56:28 +0200 |
---|---|---|
committer | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2020-01-07 12:56:28 +0200 |
commit | b6403f486b0ceefff46781bccca056a38ecd0577 (patch) | |
tree | a96a2c88f847715de5201a1bc873dcc663b3ed29 /ui/src/components/mail/listing.rs | |
parent | ca7d72e732f098ff702143b220ffdc7cd9f60554 (diff) |
ui: Remove RefreshMailbox event
Leftover from older versions, it wasn't used anywhere
Diffstat (limited to 'ui/src/components/mail/listing.rs')
-rw-r--r-- | ui/src/components/mail/listing.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/ui/src/components/mail/listing.rs b/ui/src/components/mail/listing.rs index e792b84e..1157e03c 100644 --- a/ui/src/components/mail/listing.rs +++ b/ui/src/components/mail/listing.rs @@ -530,22 +530,6 @@ impl Component for Listing { } _ => {} }, - UIEvent::RefreshMailbox((idxa, folder_hash)) => { - self.cursor_pos = ( - idxa, - context.accounts[idxa] - .folders_order - .iter() - .position(|&h| h == folder_hash) - .unwrap_or(0), - ); - context - .replies - .push_back(UIEvent::StatusEvent(StatusEvent::UpdateStatus( - self.get_status(context).unwrap(), - ))); - self.dirty = true; - } UIEvent::ChangeMode(UIMode::Normal) => { self.dirty = true; } |