Skip to content

Commit

Permalink
Add a newline
Browse files Browse the repository at this point in the history
  • Loading branch information
CaspianA1 committed Sep 30, 2024
1 parent 5c28dc3 commit c3245d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dashboard_defs/twilio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ impl TwilioStateData {

fn make_message_display_text(age_data: MessageAgeData, body: &str, maybe_from: Option<&str>) -> String {
let trimmed_body = body.trim();

let display_text = if let Some((unit_name, plural_suffix, unit_amount)) = age_data {
format!("{unit_amount} {unit_name}{plural_suffix} ago: '{trimmed_body}'")
}
Expand Down

0 comments on commit c3245d0

Please sign in to comment.