mirror of
https://github.com/Benexl/FastAnime.git
synced 2025-12-12 15:50:01 -08:00
fix: page formatting
This commit is contained in:
@@ -31,7 +31,7 @@ def results(ctx: Context, state: State) -> State | InternalDirective:
|
||||
if page_info.has_next_page:
|
||||
choices.update(
|
||||
{
|
||||
"Next Page (Page {page_info.current_page + 1})": lambda: _handle_pagination(
|
||||
f"Next Page (Page {page_info.current_page + 1})": lambda: _handle_pagination(
|
||||
ctx, state, 1
|
||||
)
|
||||
}
|
||||
@@ -39,7 +39,7 @@ def results(ctx: Context, state: State) -> State | InternalDirective:
|
||||
if page_info.current_page > 1:
|
||||
choices.update(
|
||||
{
|
||||
"Previous Page (Page {page_info.current_page - 1})": lambda: _handle_pagination(
|
||||
f"Previous Page (Page {page_info.current_page - 1})": lambda: _handle_pagination(
|
||||
ctx, state, -1
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user