Show account online error status in status tab

memfd
Manos Pitsidianakis 2020-07-08 00:43:51 +03:00
parent 3a16dc6522
commit bfc08f892d
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
1 changed files with 11 additions and 0 deletions

View File

@ -355,6 +355,17 @@ impl StatusPanel {
)
.0,
);
if let Err(err) = a.is_online.as_ref() {
write_string_to_grid(
&err.to_string(),
&mut self.content,
self.theme_default.fg,
self.theme_default.bg,
self.theme_default.attrs,
((5, y + 6), (5 + column_width, y + 6)),
Some(5),
);
}
/* next column */
write_string_to_grid(
"Special Mailboxes:",