This commit is contained in:
2023-05-26 22:06:44 +02:00
parent 669719392b
commit 672adf9345

View File

@@ -269,7 +269,10 @@ async fn get_download_keyboard_handler(
.into_iter()
.map(|item| -> Vec<InlineKeyboardButton> {
vec![InlineKeyboardButton {
text: item.clone(),
text: {
let label = item.clone();
format!("📥 {label}")
},
kind: InlineKeyboardButtonKind::CallbackData(
(DownloadQueryData::DownloadData {
book_id: book.id,