Skip to content

Commit c5ec61f

Browse files
authored
Merge pull request #1226 from davep/use-new-screen-approach
Update the 5x5 example to make use of callable screens
2 parents 5e2a566 + 50860b9 commit c5ec61f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/five_by_five.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ class FiveByFive(App[None]):
311311
CSS_PATH = "five_by_five.css"
312312
"""The name of the stylesheet for the app."""
313313

314-
SCREENS = {"help": Help()}
314+
SCREENS = {"help": Help}
315315
"""The pre-loaded screens for the application."""
316316

317317
BINDINGS = [("ctrl+d", "toggle_dark", "Toggle Dark Mode")]

0 commit comments

Comments
 (0)