From d87e19d81f4df46b6725acf45c449b5a37b9a4b7 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 18 Oct 2022 23:54:51 +0200 Subject: [PATCH] Add underline to deck titles --- src/telegram/display.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/telegram/display.rs b/src/telegram/display.rs index a301fe4..03645be 100644 --- a/src/telegram/display.rs +++ b/src/telegram/display.rs @@ -183,7 +183,7 @@ pub fn display_deck(index: &CardIndex, deck: &Deck, code: &str, name: &Option<&s .join("\n"); match name { - Some(name) => format!("{}\n{}\n\n{}", &name, &code, &cards), + Some(name) => format!("{}\n{}\n\n{}", &name, &code, &cards), None => format!("{}\n\n{}", &code, &cards), } }