Fix xdg notification format

Concerns #64
embed
Manos Pitsidianakis 2019-03-02 21:14:03 +02:00
parent d285913974
commit 712652a4c8
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
1 changed files with 2 additions and 1 deletions

View File

@ -167,7 +167,8 @@ impl Account {
return Some(Notification(
Some("new mail".into()),
format!(
"{:<15}:\nSubject: {:<15}\nFrom: {:<15}",
"{} {:.15}:\n\nFrom: {:.15}\nSubject: {:.15}",
self.name,
ref_folders[idx].name(),
env.subject(),
env.field_from_to_string(),