mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 15:35:35 +01:00
Fixes
This commit is contained in:
@@ -95,7 +95,7 @@ where
|
||||
|
||||
let annotation_text = annotation.get_text();
|
||||
let chunked_text = split_text_to_chunks(annotation_text, 512);
|
||||
let current_text = chunked_text.get(0).unwrap();
|
||||
let current_text = chunked_text.first().unwrap();
|
||||
|
||||
let callback_data = match command {
|
||||
AnnotationCommand::Book { id } => AnnotationCallbackData::Book { id, page: 1 },
|
||||
|
||||
Reference in New Issue
Block a user