mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
fix title setting
This commit is contained in:
@@ -317,9 +317,8 @@ class FiveByFive(App[None]):
|
|||||||
#: App-level bindings.
|
#: App-level bindings.
|
||||||
BINDINGS = [("ctrl+d", "toggle_dark", "Toggle Dark Mode")]
|
BINDINGS = [("ctrl+d", "toggle_dark", "Toggle Dark Mode")]
|
||||||
|
|
||||||
def __init__(self) -> None:
|
# Set the title
|
||||||
"""Constructor."""
|
TITLE = "5x5 -- A little annoying puzzle"
|
||||||
super().__init__(title="5x5 -- A little annoying puzzle")
|
|
||||||
|
|
||||||
def on_mount(self) -> None:
|
def on_mount(self) -> None:
|
||||||
"""Set up the application on startup."""
|
"""Set up the application on startup."""
|
||||||
|
|||||||
Reference in New Issue
Block a user