This commit is contained in:
HADEON 2026-04-19 13:20:37 +02:00 committed by GitHub
parent ca52b7e172
commit 3c58fee65e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -156,7 +156,7 @@ async def select_console_font(preset: str | None = None) -> str | None:
group = MenuItemGroup(items, sort_items=False)
group.set_focus_by_value(preset)
result = await Selecton[str](
result = await Selection[str](
group,
header=tr('Console font'),
group=group,

View File

@ -120,4 +120,4 @@ def list_console_fonts() -> list[str]:
name = f.name.removesuffix('.gz').removesuffix('.psfu').removesuffix('.psf')
fonts.append(name)
return sorted(fonts, key=lambda x: (len(x), x))
return sorted(fonts, key=lambda x: (len(x), x))