diff options
author | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2018-08-15 15:32:30 +0300 |
---|---|---|
committer | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2019-06-10 19:40:29 +0300 |
commit | f033463db90fcdd441d5641d9dfb40e2b64b2410 (patch) | |
tree | 863af734f45bdf6636e3def8e449b679f697831f /ui | |
parent | 832d1243de50c24354665da4e2c0aed53cdf8679 (diff) |
startupcheck signal seems to be causing redraws
closes #33
Diffstat (limited to 'ui')
-rw-r--r-- | ui/src/components/mail/listing/compact.rs | 2 | ||||
-rw-r--r-- | ui/src/components/mail/listing/mod.rs | 2 | ||||
-rw-r--r-- | ui/src/components/mail/mod.rs | 2 | ||||
-rw-r--r-- | ui/src/components/utilities.rs | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/ui/src/components/mail/listing/compact.rs b/ui/src/components/mail/listing/compact.rs index 9c500706..13ec64fa 100644 --- a/ui/src/components/mail/listing/compact.rs +++ b/ui/src/components/mail/listing/compact.rs @@ -86,7 +86,7 @@ impl CompactMailListing { // loop { // TODO: Show progress visually - if let Ok(()) = context.accounts[self.cursor_pos.0].status(self.cursor_pos.1) { + if let Ok(_) = context.accounts[self.cursor_pos.0].status(self.cursor_pos.1) { break; } } diff --git a/ui/src/components/mail/listing/mod.rs b/ui/src/components/mail/listing/mod.rs index c7eee344..d82fe1a8 100644 --- a/ui/src/components/mail/listing/mod.rs +++ b/ui/src/components/mail/listing/mod.rs @@ -106,7 +106,7 @@ impl MailListing { // loop { // TODO: Show progress visually - if let Ok(()) = context.accounts[self.cursor_pos.0].status(self.cursor_pos.1) { + if let Ok(_) = context.accounts[self.cursor_pos.0].status(self.cursor_pos.1) { break; } } diff --git a/ui/src/components/mail/mod.rs b/ui/src/components/mail/mod.rs index b9714332..5c4e8e85 100644 --- a/ui/src/components/mail/mod.rs +++ b/ui/src/components/mail/mod.rs @@ -136,7 +136,7 @@ impl AccountMenu { ) -> () { let len = s.len(); match context.accounts[index].status(root) { - Ok(()) => {} + Ok(_) => {} Err(_) => { return; // TODO: Show progress visually diff --git a/ui/src/components/utilities.rs b/ui/src/components/utilities.rs index 6d003304..52fc0ee5 100644 --- a/ui/src/components/utilities.rs +++ b/ui/src/components/utilities.rs @@ -474,7 +474,7 @@ impl Component for StatusBar { match &event.event_type { UIEventType::RefreshMailbox((ref idx_a, ref idx_f)) => { match context.accounts[*idx_a].status(*idx_f) { - Ok(()) => {} + Ok(_) => {} Err(_) => { return; } |