ui: add attachment emoji in compact listing

embed
Manos Pitsidianakis 2019-05-26 21:35:08 +03:00
parent d0039740b0
commit 3318123870
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
1 changed files with 2 additions and 2 deletions

View File

@ -115,7 +115,7 @@ impl MailboxView {
"{} ({}){}{}", "{} ({}){}{}",
e.subject(), e.subject(),
len, len,
if e.has_attachments() { " πŸ”—" } else { "" }, if e.has_attachments() { " πŸ“Ž" } else { "" },
if is_snoozed { " πŸ’€" } else { "" } if is_snoozed { " πŸ’€" } else { "" }
)), )),
) )
@ -127,7 +127,7 @@ impl MailboxView {
SubjectString(format!( SubjectString(format!(
"{}{}{}", "{}{}{}",
e.subject(), e.subject(),
if e.has_attachments() { " πŸ”—" } else { "" }, if e.has_attachments() { " πŸ“Ž" } else { "" },
if is_snoozed { " πŸ’€" } else { "" } if is_snoozed { " πŸ’€" } else { "" }
)), )),
) )