Skip to content

Commit 50860b9

Browse files
committed
Update the 5x5 example to make use of callable screens
Now that #1054 has made it into main, make use of it.
1 parent ccabbf0 commit 50860b9

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)