fix: Correct HelpScreen instantiation

- Fix missing app_bindings argument
- Pass self.BINDINGS list to HelpScreen constructor
- Help screen now works without crash
This commit is contained in:
Bendt
2025-12-28 13:35:26 -05:00
parent 977c8e4ee0
commit a0057f4d83

View File

@@ -660,7 +660,7 @@ class EmailViewerApp(App):
async def action_show_help(self) -> None:
"""Show help screen with keyboard shortcuts."""
help_screen = HelpScreen()
help_screen = HelpScreen(list(self.BINDINGS))
self.push_screen(help_screen)
def action_next(self) -> None: