fix title setting

This commit is contained in:
Will McGugan
2022-10-20 21:57:31 +01:00
parent f4191702e1
commit 1db9327969

View File

@@ -317,9 +317,8 @@ class FiveByFive(App[None]):
#: App-level bindings.
BINDINGS = [("ctrl+d", "toggle_dark", "Toggle Dark Mode")]
def __init__(self) -> None:
"""Constructor."""
super().__init__(title="5x5 -- A little annoying puzzle")
# Set the title
TITLE = "5x5 -- A little annoying puzzle"
def on_mount(self) -> None:
"""Set up the application on startup."""