remove log

This commit is contained in:
Will McGugan
2022-08-11 17:17:40 +01:00
parent bd82ece9cf
commit 71bb29d5d4
2 changed files with 2 additions and 2 deletions

View File

@@ -110,7 +110,8 @@ class BasicApp(App, css_path="basic.css"):
def on_load(self):
"""Bind keys here."""
self.bind("s", "toggle_class('#sidebar', '-active')", description="Sidebar")
self.bind("d", "toggle_dark()", description="Dark mode")
self.bind("d", "toggle_dark", description="Dark mode")
self.bind("q", "quit", description="Quit")
def compose(self) -> ComposeResult:
table = DataTable()

View File

@@ -97,7 +97,6 @@ class Footer(Widget):
meta={"@click": f"app.press('{binding.key}')", "key": binding.key},
)
text.append_text(key_text)
self.log(text)
return text
def post_render(self, renderable):