make more_info and show_projects on separate lines
This commit is contained in:
parent
0c71fd3796
commit
53edb54118
14
src/main.rs
14
src/main.rs
@ -611,14 +611,14 @@ async fn make_start_buttons(db: &mut DB) -> BotResult<InlineKeyboardMarkup> {
|
|||||||
)]
|
)]
|
||||||
})
|
})
|
||||||
.collect();
|
.collect();
|
||||||
|
buttons.push(vec![InlineKeyboardButton::callback(
|
||||||
|
"More info",
|
||||||
|
CallbackStore::new(Callback::MoreInfo)
|
||||||
|
.store(db)
|
||||||
|
.await?
|
||||||
|
.get_id(),
|
||||||
|
)]);
|
||||||
buttons.push(vec![
|
buttons.push(vec![
|
||||||
InlineKeyboardButton::callback(
|
|
||||||
"More info",
|
|
||||||
CallbackStore::new(Callback::MoreInfo)
|
|
||||||
.store(db)
|
|
||||||
.await?
|
|
||||||
.get_id(),
|
|
||||||
),
|
|
||||||
create_callback_button(
|
create_callback_button(
|
||||||
"show_projects",
|
"show_projects",
|
||||||
CallbackStore::new(Callback::ProjectPage { id: 1 }),
|
CallbackStore::new(Callback::ProjectPage { id: 1 }),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user