Drop screen title for now

This commit is contained in:
3wc 2023-10-27 16:51:44 +01:00
parent eb33dfb99f
commit 7d8c37f75c

View File

@ -182,23 +182,11 @@ class CategoriesScreen(ListScreen):
self.table.remove_row(row_key) self.table.remove_row(row_key)
# class KimaiScreen(Screen):
# def compose(self) -> ComposeResult:
# yield Placeholder("Help Screen")
# yield Footer()
#
# def __init__(self, db_cursor, db_connection):
# self.db_cursor = db_cursor
# self.db_connection = db_connection
# super().__init__()
class HamsterToolsApp(App): class HamsterToolsApp(App):
CSS_PATH = "app.tcss" CSS_PATH = "app.tcss"
BINDINGS = [ BINDINGS = [
("a", "switch_mode('activities')", "Activities"), ("a", "switch_mode('activities')", "Activities"),
("c", "switch_mode('categories')", "Categories"), ("c", "switch_mode('categories')", "Categories"),
# ("k", "switch_mode('kimai')", "Kimai"),
("q", "quit", "Quit"), ("q", "quit", "Quit"),
] ]
@ -208,7 +196,6 @@ class HamsterToolsApp(App):
self.MODES = { self.MODES = {
"categories": CategoriesScreen(self.db_manager), "categories": CategoriesScreen(self.db_manager),
"activities": ActivitiesScreen(self.db_manager) "activities": ActivitiesScreen(self.db_manager)
# "kimai": KimaiScreen,
} }
super().__init__() super().__init__()