mirror of
https://github.com/Benexl/FastAnime.git
synced 2025-12-12 15:50:01 -08:00
feat: icon for downloads
This commit is contained in:
@@ -39,8 +39,8 @@ def main(ctx: Context, state: State) -> State | InternalDirective:
|
||||
ctx, state, UserMediaListStatus.PLANNING
|
||||
),
|
||||
f"{'🔎 ' if icons else ''}Search": _create_search_media_list(ctx, state),
|
||||
f"{'<EFBFBD> ' if icons else ''}Downloads": _create_downloads_action(ctx, state),
|
||||
f"{'<EFBFBD>🔔 ' if icons else ''}Recently Updated": _create_media_list_action(
|
||||
f"{'🏠 ' if icons else ''}Downloads": _create_downloads_action(ctx, state),
|
||||
f"{'🔔 ' if icons else ''}Recently Updated": _create_media_list_action(
|
||||
ctx, state, MediaSort.UPDATED_AT_DESC
|
||||
),
|
||||
f"{'✨ ' if icons else ''}Popular": _create_media_list_action(
|
||||
@@ -223,7 +223,8 @@ def _create_recent_media_action(ctx: Context, state: State) -> MenuAction:
|
||||
|
||||
def _create_downloads_action(ctx: Context, state: State) -> MenuAction:
|
||||
"""Create action to navigate to the downloads menu."""
|
||||
|
||||
def action():
|
||||
return State(menu_name=MenuName.DOWNLOADS)
|
||||
|
||||
|
||||
return action
|
||||
|
||||
Reference in New Issue
Block a user